SplCaster::castFileInfo()

static castFileInfo(SplFileInfo $c, array $a, Stub $stub, $isNested) Parameters SplFileInfo $c array $a Stub $stub $isNested

SplCaster::castArrayObject()

static castArrayObject(ArrayObject $c, array $a, Stub $stub, $isNested) Parameters ArrayObject $c array $a Stub $stub $isNested

SplCaster::castFixedArray()

static castFixedArray(SplFixedArray $c, array $a, Stub $stub, $isNested) Parameters SplFixedArray $c array $a Stub $stub $isNested

SplCaster::castDoublyLinkedList()

static castDoublyLinkedList(SplDoublyLinkedList $c, array $a, Stub $stub, $isNested) Parameters SplDoublyLinkedList $c array $a Stub $stub $isNested

SplCaster

class SplCaster Casts SPL related classes to array representation. Methods static castArrayObject(ArrayObject $c, array $a, Stub $stub, $isNested) static castHeap(Iterator $c, array $a, Stub $stub, $isNested) static castDoublyLinkedList(SplDoublyLinkedList $c, array $a, Stub $stub, $isNested) static castFileInfo(SplFileInfo $c, array $a, Stub $stub, $isNested) static castFileObject(SplFileObject $c, array $a, Stub $stub, $isNested) static castFixedArray(SplF

Specificity::plus()

Specificity plus(Specificity $specificity) Parameters Specificity $specificity Return Value Specificity

Specificity::getValue()

int getValue() Returns global specificity value. Return Value int

SortableIterator

class SortableIterator implements IteratorAggregate SortableIterator applies a sort on a given Iterator. Constants SORT_BY_NAME SORT_BY_TYPE SORT_BY_ACCESSED_TIME SORT_BY_CHANGED_TIME SORT_BY_MODIFIED_TIME Methods __construct(Traversable $iterator, int|callable $sort) Constructor. getIterator() Details __construct(Traversable $iterator, int|callable $sort) Constructor. Parameters Traversable $iterator The Iterator

Specificity::compareTo()

int compareTo(Specificity $specificity) Returns -1 if the object specificity is lower than the argument, 0 if they are equal, and 1 if the argument is lower. Parameters Specificity $specificity Return Value int

Specificity

class Specificity Represents a node specificity. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Constants A_FACTOR B_FACTOR C_FACTOR Methods __construct(int $a, int $b, int $c) Constructor. Specificity plus(Specificity $specificity) int getValue() Returns global specificity value. int compareTo(Specificity $specificity) Returns -1 if the object specificity is lower than t