| 1 | <?php |
||
| 12 | abstract class AbstractSet extends AbstractCondition implements CompositeCondition |
||
| 13 | { |
||
| 14 | private |
||
| 15 | $conditions; |
||
|
1 ignored issue
–
show
|
|||
| 16 | |||
| 17 | 36 | public function __construct() |
|
| 21 | |||
| 22 | 20 | public function toString(Escaper $escaper): string |
|
| 33 | |||
| 34 | 32 | public function add(Condition $condition): self |
|
| 40 | |||
| 41 | 36 | public function isEmpty(): bool |
|
| 53 | |||
| 54 | 14 | private function buildCompositeCondition(): Condition |
|
| 67 | |||
| 68 | private function getNotEmptyConditions(): array |
||
| 74 | |||
| 75 | abstract protected function joinConditions(Condition $leftCondition, Condition $rightCondition): Condition; |
||
| 76 | } |
||
| 77 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.