| 1 | <?php |
||
| 23 | class OptionableView implements ViewInterface |
||
| 24 | { |
||
| 25 | private $view; |
||
| 26 | private $defaultOptions; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Constructor. |
||
| 30 | * |
||
| 31 | * @param ViewInterface $view A view. |
||
| 32 | * @param array $defaultOptions An array of default options. |
||
| 33 | */ |
||
| 34 | 2 | public function __construct(ViewInterface $view, array $defaultOptions) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 2 | public function render(PagerfantaInterface $pagerfanta, $routeGenerator, array $options = array()) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | public function getName() |
||
| 55 | } |
||
| 56 |