| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class Blade implements Iface |
||
| 21 | { |
||
| 22 | private $factory; |
||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * Initializes the view object |
||
| 27 | * |
||
| 28 | * @param \Illuminate\View\Factory $factory Laravel view factory |
||
| 29 | */ |
||
| 30 | public function __construct( \Illuminate\View\Factory $factory ) |
||
| 33 | } |
||
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Renders the output based on the given template file name and the key/value pairs |
||
| 38 | * |
||
| 39 | * @param \Aimeos\Base\View\Iface $view View object |
||
| 40 | * @param string $filename File name of the view template |
||
| 41 | * @param array $values Associative list of key/value pairs |
||
| 42 | * @return string Output generated by the template |
||
| 43 | * @throws \Aimeos\Base\View\Exception If the template isn't found |
||
| 44 | */ |
||
| 45 | public function render( \Aimeos\Base\View\Iface $view, string $filename, array $values ) : string |
||
| 63 |