Puli\Repository\AbstractJsonRepository::getReferencesForRegex PHP Méthode

getReferencesForRegex() abstract protected méthode

Each reference returned by this method can be: * null * a link starting with @ * an absolute filesystem path The keys of the returned array are Puli paths. Their order is undefined. The flag STOP_ON_FIRST may be used to stop the search at the first result.
abstract protected getReferencesForRegex ( string $staticPrefix, string $regex, integer $flags ) : string[] | null[]
$staticPrefix string The static prefix of all Puli paths matching the regular expression.
$regex string The regular expression.
$flags integer A bitwise combination of the flag constants in this class.
Résultat string[] | null[] A one-level array of references with Puli paths as keys.
    protected abstract function getReferencesForRegex($staticPrefix, $regex, $flags = 0);