Aimeos\Shop\Base\View::addRequest PHP Method

addRequest() protected method

Adds the "request" helper to the view object
protected addRequest ( Aimeos\MW\View\Iface $view ) : Aimeos\MW\View\Iface
$view Aimeos\MW\View\Iface View object
return Aimeos\MW\View\Iface Modified view object
    protected function addRequest(\Aimeos\MW\View\Iface $view)
    {
        $helper = new \Aimeos\MW\View\Helper\Request\Laravel5($view, Request::instance());
        $view->addHelper('request', $helper);
        return $view;
    }