Copied!

AndSpecification

AndSpecification.php : 11

Methods

public__construct()

AndSpecification.php : 17
public __construct(SpecificationInterface $one, SpecificationInterface $two)

Parameters

Name Type Default value Description
$one SpecificationInterface - -
$two SpecificationInterface - -

publicand()

AbstractSpecification.php : 15

Parameters

Name Type Default value Description
$other SpecificationInterface - -

Return values

SpecificationInterface

publicisSatisfiedBy()

AndSpecification.php : 23
public isSatisfiedBy(mixed $item) : bool

Parameters

Name Type Default value Description
$item mixed - -

Return values

bool

publicnot()

AbstractSpecification.php : 25
public not() : SpecificationInterface

Return values

SpecificationInterface

publicor()

AbstractSpecification.php : 20

Parameters

Name Type Default value Description
$other SpecificationInterface - -

Return values

SpecificationInterface