class League / CommonMark / Node / Query
final

Query

Properties

private

$condition callable

bool $condition

Default: null

Methods

public

__construct ( ) : void

public

where ( callable $conditions ) : void

public

andWhere ( callable $conditions ) : void

public

orWhere ( callable $conditions ) : void

public

findOne ( Node $node ) : void

public

findAll ( Node $node , int $limit ) : iterable<\Node>

public static

type ( string $class ) : callable

public static

hasChild ( callable $condition ) : callable

public static

hasParent ( callable $condition ) : callable