# responsive-menu/3.1.16/app/View/View.php

Responsive Menu – Create Mobile-Friendly Menu, version 3.1.16. 19 lines.

- Page: https://pluginprobe.com/plugins/responsive-menu/3.1.16/code/app/View/View.php
- Raw: https://pluginprobe.com/plugins/responsive-menu/3.1.16/raw/app/View/View.php
- Modified: 2018-08-15T14:45:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/responsive-menu/3.1.16/code/app/View/View.php#L10-L20`.

```php
<?php

namespace ResponsiveMenu\View;
use \Twig_Environment;

class View {

    protected $twig;

    public function __construct(Twig_Environment $twig) {
        $this->twig = $twig;
    }

    public function render($location, $options = []) {
        return $this->twig->render($location, $options);
    }

}

```
