| Total Complexity | 7 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class MultipleCondition implements ConditionInterface { |
||
| 18 | /** |
||
| 19 | * Array of conditions to check. |
||
| 20 | * |
||
| 21 | * @var ConditionInterface[] |
||
| 22 | */ |
||
| 23 | protected $conditions = []; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Constructor. |
||
| 27 | * |
||
| 28 | * @codeCoverageIgnore |
||
| 29 | * @param ConditionInterface[] $conditions |
||
| 30 | */ |
||
| 31 | public function __construct( $conditions ) { |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get all assigned conditions |
||
| 37 | * |
||
| 38 | * @codeCoverageIgnore |
||
| 39 | * @return ConditionInterface[] |
||
| 40 | */ |
||
| 41 | public function getConditions() { |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritDoc} |
||
| 47 | */ |
||
| 48 | 1 | public function isSatisfied( RequestInterface $request ) { |
|
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritDoc} |
||
| 59 | */ |
||
| 60 | 1 | public function getArguments( RequestInterface $request ) { |
|
| 70 |