Crawler
in package
Description of Crawler
Tags
Table of Contents
Properties
- $log : LoggerInterface|null
- $mappings : PropertyMappings
- $normalizer : UriNormalizer
- $schema : Schema
Methods
- __construct() : mixed
- crawl() : Generator<string|int, ProcessEntityResult>
- processEntity() : ProcessEntityResult
Properties
$log
private
LoggerInterface|null
$log
$mappings
private
PropertyMappings
$mappings
$normalizer
private
UriNormalizer
$normalizer
$schema
private
Schema
$schema
Tags
Methods
__construct()
public
__construct(object $refSrcsCfg, Schema $schema[, LoggerInterface|null $log = null ]) : mixed
Parameters
- $refSrcsCfg : object
- $schema : Schema
- $log : LoggerInterface|null = null
crawl()
public
crawl(NamedEntityIteratorInterface $source) : Generator<string|int, ProcessEntityResult>
Parameters
- $source : NamedEntityIteratorInterface
Return values
Generator<string|int, ProcessEntityResult>processEntity()
private
processEntity(NamedEntityInterface $entity) : ProcessEntityResult
Parameters
- $entity : NamedEntityInterface