| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function __construct( Container $container ) |
||
| 34 | { |
||
| 35 | $this->context = $container->get( 'aimeos.context' )->get(); |
||
| 36 | |||
| 37 | $langid = $this->context->locale()->getLanguageId(); |
||
| 38 | $tmplPaths = $container->get( 'aimeos' )->get()->getTemplatePaths( 'client/html/templates' ); |
||
| 39 | |||
| 40 | $view = $container->get( 'aimeos.view' )->create( $this->context, $tmplPaths, $langid ); |
||
| 41 | $this->context->setView( $view ); |
||
| 42 | } |
||
| 65 |