Метод |
Описание |
|
__construct ( array $classNames = [] ) |
Constructor. Note: If you pass a data array here, make sure
to key sort it before! |
|
applyIntersect ( ClassNameIndex $classNameIndex ) : void |
Sets this index to all class names which are present currently and
contained in the given index |
|
applyUnion ( ClassNameIndex $classNameIndex ) : void |
Sets this index to all class names which are either already present or are
contained in the given index |
|
count ( ) : integer |
|
|
filterByPrefix ( string $prefixFilter ) : ClassNameIndex |
Returns a new index object which contains all class names of this index
starting with the given prefix |
|
getClassNames ( ) : array |
Returns the class names contained in this index |
|
hasClassName ( string $className ) : boolean |
Checks, if a class name is contained in this index |
|
intersect ( ClassNameIndex $classNameIndex ) : ClassNameIndex |
Returns a new index object with all class names contained in this and
the given index |
|
setClassNames ( array $classNames ) : void |
Set the data of this index to the given class
names. Note: Make sure to sort the array before! |
|
sort ( ) : array |
|
|
union ( ClassNameIndex $classNameIndex ) : ClassNameIndex |
Returns a new index object containing all class names of
this index and the given one |
|