Property | Type | Description | |
---|---|---|---|
$keywords | array | For each file type an array of keywords can be configured, each associated with a list of contained texts in the property with the name of the keyword. |
Method | Description | |
---|---|---|
__construct ( array $keywords = null ) : void | Construct from optional keywords configuration | |
checkKeywords ( pchRepository $repository, string $file ) : array | Check keywords for a single file | |
validate ( pchRepository $repository ) : void | Validate the current check |
public __construct ( array $keywords = null ) : void | ||
$keywords | array | |
return | void |
public checkKeywords ( pchRepository $repository, string $file ) : array | ||
$repository | pchRepository | |
$file | string | |
return | array |
protected array $keywords | ||
return | array |