| 1 | <?php |
||
| 19 | abstract class AbstractDelegate implements DelegateInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var callable |
||
| 23 | */ |
||
| 24 | protected $callable; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param callable $callable |
||
| 28 | */ |
||
| 29 | public function __construct($callable) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function __invoke() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | public function invokeWith(array $args) |
||
| 57 | } |
||
| 58 |