1 | <?php |
||
10 | class ClosureObject extends ObjectValue |
||
11 | { |
||
12 | /** |
||
13 | * ClosureObject constructor. |
||
14 | * |
||
15 | * @param \Closure $value |
||
16 | */ |
||
17 | 4 | public function __construct(\Closure $value) |
|
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | 1 | public function hash(): string |
|
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | 1 | public function __invoke() |
|
39 | } |
||
40 |