PHP Class Jackalope\Query\QOM\ChildNodeConstraint

Inheritance: implements PHPCR\Query\QOM\ChildNodeInterface
Show file Open project: jackalope/jackalope

Protected Properties

Property Type Description
$parentPath string
$selectorName string

Public Methods

Method Description
__construct ( string $selectorName, string $parentPath ) Create a new child node constraint
getConstraints ( ) : array Gets all constraints including itself
getParentPath ( ) {@inheritDoc}
getSelectorName ( ) {@inheritDoc}

Method Details

__construct() public method

Create a new child node constraint
public __construct ( string $selectorName, string $parentPath )
$selectorName string
$parentPath string parent path the node must be child of

getConstraints() public method

Gets all constraints including itself
public getConstraints ( ) : array
return array the constraints

getParentPath() public method

{@inheritDoc}
public getParentPath ( )

getSelectorName() public method

{@inheritDoc}
public getSelectorName ( )

Property Details

$parentPath protected property

protected string $parentPath
return string

$selectorName protected property

protected string $selectorName
return string