| 1 | <?php |
||
| 13 | class ClosureObject extends ObjectValue |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * ClosureObject constructor. |
||
| 17 | * |
||
| 18 | * @param \Closure $value |
||
| 19 | 4 | */ |
|
| 20 | public function __construct(\Closure $value) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | 1 | */ |
|
| 28 | public function hash(): string |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | 1 | */ |
|
| 38 | public function __invoke() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function equals(ValueInterface $item, $strict = TRUE): bool { |
||
| 49 | } |
||
| 50 |