PHP Classes

File: App/ContentLoaderInterface.php

Recommend this page to a friend!
  Classes of Igor Dyshlenko   PHP Image Crawler   App/ContentLoaderInterface.php   Download  
File: App/ContentLoaderInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Image Crawler
Crawl Web site pages to find images in the pages
Author: By
Last change:
Date: 3 years ago
Size: 410 bytes
 

Contents

Class file image Download
<?php

namespace App;

interface
ContentLoaderInterface
{
   
/**
     * Set headers for all CURL requests.
     *
     * @param array $headers
     */
   
public function setHeaders(array $headers): void ;

   
/**
     * Get content for all URLs in $urlArray.
     *
     * @param array $urlArray
     *
     * @return array content of URLs
     */
   
public function loadContent(array $urlArray): array;
}