| 1 | <?php |
||
| 6 | class CallbackViewFactory implements ViewFactory { |
||
| 7 | /** @var callable */ |
||
| 8 | private $callback; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @param callable $callback |
||
| 12 | */ |
||
| 13 | public function __construct($callback) { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $baseDir |
||
| 19 | * @param array $vars |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | public function create($baseDir = null, array $vars = []) { |
||
| 25 | } |
||
| 26 |