PHP Class Jackalope\Query\QOM\AndConstraint

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

Protected Properties

Property Type Description
$constraint1 PHPCR\Query\QOM\ConstraintInterface
$constraint2 PHPCR\Query\QOM\ConstraintInterface

Public Methods

Method Description
__construct ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 ) Create an and constraint
getConstraint1 ( ) {@inheritDoc}
getConstraint2 ( ) {@inheritDoc}
getConstraints ( ) : array Gets all constraints including itself

Method Details

__construct() public method

Create an and constraint
public __construct ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 )
$constraint1 PHPCR\Query\QOM\ConstraintInterface
$constraint2 PHPCR\Query\QOM\ConstraintInterface

getConstraint1() public method

{@inheritDoc}
public getConstraint1 ( )

getConstraint2() public method

{@inheritDoc}
public getConstraint2 ( )

getConstraints() public method

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

Property Details

$constraint1 protected property

protected ConstraintInterface,PHPCR\Query\QOM $constraint1
return PHPCR\Query\QOM\ConstraintInterface

$constraint2 protected property

protected ConstraintInterface,PHPCR\Query\QOM $constraint2
return PHPCR\Query\QOM\ConstraintInterface