We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 17 | abstract class AbstractNested implements RuleInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var RuleInterface[] |
||
| 21 | */ |
||
| 22 | private $rules = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param RuleInterface ...$rules |
||
| 26 | */ |
||
| 27 | 1 | public function __construct(RuleInterface ...$rules) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return RuleInterface[] |
||
| 34 | */ |
||
| 35 | 5 | public function getRules() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @param RuleInterface $rule |
||
| 42 | */ |
||
| 43 | 4 | public function addRule(RuleInterface $rule) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @param RuleInterface[] $rules |
||
| 50 | */ |
||
| 51 | 3 | public function addRules(array $rules) |
|
| 59 | } |
||
| 60 |