| 1 | <?php |
||
| 15 | class PredicateAnd extends AbstractRule |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \GetSky\ParserExpressions\RuleInterface |
||
| 20 | */ |
||
| 21 | protected $rule; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array|string|RuleInterface $rule |
||
| 25 | * @param string $name |
||
| 26 | */ |
||
| 27 | 1 | public function __construct($rule, $name = "PredicateAnd") |
|
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | 1 | public function scan(Context $context) |
|
| 51 | } |
||
| 52 |