NamedEntityIteratorRepo
in package
implements
NamedEntityIteratorInterface
Description of NamedEntityIteratorRepo
Tags
Table of Contents
Interfaces
Properties
- $repo : Repo
- $schema : Schema
- $searchConfig : SearchConfig
- $searchTerms : array<string|int, SearchTerm>
Methods
- __construct() : mixed
- count() : int
- getNamedEntities() : Generator<string|int, NamedEntityInterface>
- setFilter() : void
Properties
$repo
private
Repo
$repo
$schema
private
Schema
$schema
$searchConfig
private
SearchConfig
$searchConfig
$searchTerms
private
array<string|int, SearchTerm>
$searchTerms
Methods
__construct()
public
__construct(Repo $repo) : mixed
Parameters
- $repo : Repo
count()
public
count() : int
Return values
intgetNamedEntities()
public
getNamedEntities() : Generator<string|int, NamedEntityInterface>
Return values
Generator<string|int, NamedEntityInterface>setFilter()
public
setFilter([string|null $class = null ][, string|null $idMatch = null ][, string|null $minModDate = null ][, int|null $limit = null ]) : void
Parameters
- $class : string|null = null
- $idMatch : string|null = null
- $minModDate : string|null = null
- $limit : int|null = null