| 1 | <?php |
||
| 7 | class Phiew implements RenderInterface |
||
| 8 | { |
||
| 9 | /** @var \Wandu\View\Phiew\Contracts\ResolverInterface */ |
||
| 10 | protected $resolver; |
||
| 11 | |||
| 12 | /** @var array */ |
||
| 13 | protected $attributes = []; |
||
| 14 | |||
| 15 | 4 | public function __construct(ResolverInterface $resolver) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | 1 | public function with(array $attributes = []) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | 4 | public function render($template, array $attributes = [], $basePath = null) |
|
| 38 | } |
||
| 39 |