Bristol SU Support Package
Public Member Functions | Private Attributes | List of all members
BristolSU\Support\Logic\Specification\AndSpecification Class Reference
Inheritance diagram for BristolSU\Support\Logic\Specification\AndSpecification:
Inheritance graph
[legend]
Collaboration diagram for BristolSU\Support\Logic\Specification\AndSpecification:
Collaboration graph
[legend]

Public Member Functions

 __construct (... $specifications)
 
 isSatisfied ()
 

Private Attributes

 $specifications
 

Detailed Description

Are all the given specifications satisfied?

Definition at line 12 of file AndSpecification.php.

Constructor & Destructor Documentation

◆ __construct()

BristolSU\Support\Logic\Specification\AndSpecification::__construct (   $specifications)
Parameters
Specification...$specifications Specifications to test

Definition at line 25 of file AndSpecification.php.

References BristolSU\Support\Logic\Specification\AndSpecification\$specifications.

Member Function Documentation

◆ isSatisfied()

BristolSU\Support\Logic\Specification\AndSpecification::isSatisfied ( )

Are all the given specifications satisfied?

Returns
bool If all the specifications are satisfied

Implements BristolSU\Support\Logic\Contracts\Specification.

Definition at line 35 of file AndSpecification.php.

Member Data Documentation

◆ $specifications

BristolSU\Support\Logic\Specification\AndSpecification::$specifications
private

The documentation for this class was generated from the following file: