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

Public Member Functions

 __construct (... $specifications)
 
 isSatisfied ()
 

Private Attributes

 $specifications
 

Detailed Description

Are any of the given specifications satisfied?

Definition at line 12 of file OrSpecification.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 25 of file OrSpecification.php.

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

Member Function Documentation

◆ isSatisfied()

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

Are any of the given specifications satisfied?

Returns
bool If any of the specifications are satisfied

Implements BristolSU\Support\Logic\Contracts\Specification.

Definition at line 35 of file OrSpecification.php.

Member Data Documentation

◆ $specifications

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

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