| 1 | <?php |
||
| 19 | class _Custom extends Predicate { |
||
| 20 | /** |
||
| 21 | * @var \Closure |
||
| 22 | */ |
||
| 23 | protected $predicate; |
||
| 24 | |||
| 25 | 30 | public function __construct(\Closure $predicate) { |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritdocs |
||
| 31 | */ |
||
| 32 | public function _compile() { |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @inheritdocs |
||
| 38 | */ |
||
| 39 | 27 | public function compile_to_source(array &$custom_closures) { |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritdocs |
||
| 48 | */ |
||
| 49 | 4 | public function for_types(array $existing_types) { |
|
| 52 | } |
||
| 53 |