public function addCrawlers(array $crawlers)
    {
        foreach ($crawlers as $crawler) {
            if (!$crawler instanceof CrawlerInterface) {
                throw new \InvalidArgumentException('The $crawlers array may only contain FlameCore\Flink\Crawler\CrawlerInterface instances.');
            }

            $this->crawlers[] = $crawler;
        }
    }
public function addCrawlers(array $crawlers)
    {
        foreach ($crawlers as $crawler) {
            if (!$crawler instanceof CrawlerInterface) {
                throw new \InvalidArgumentException('The $crawlers array may only contain FlameCore\Flink\Crawler\CrawlerInterface instances.');
            }

            $this->crawlers[] = $crawler;
        }
    }
public function addCrawlers ( array $ crawlers ) { foreach ( $ crawlers as $ crawler ) { if ( ! $ crawler instanceof CrawlerInterface ) { throw new \ InvalidArgumentException ( 'The $crawlers array may only contain FlameCore\Flink\Crawler\CrawlerInterface instances.' ) ; } $ this -> crawlers [ ] = $ crawler ; } }
Registers the given crawlers.

@param \FlameCore\Flink\Crawler\CrawlerInterface[] $crawlers The crawlers to register
Registers the given crawlers .