public function makeFileContents($filePath, $extraParams = [])
    {
        $this->controller->vars = array_merge($this->controller->vars, $this->vars);
        return $this->controller->makeFileContents($filePath, $extraParams);
    }
public function makeFileContents($filePath, $extraParams = [])
    {
        $this->controller->vars = array_merge($this->controller->vars, $this->vars);
        return $this->controller->makeFileContents($filePath, $extraParams);
    }
public function makeFileContents ( $ filePath , $ extraParams = [ ] ) { $ this -> controller -> vars = array_merge ( $ this -> controller -> vars , $ this -> vars ) ; return $ this -> controller -> makeFileContents ( $ filePath , $ extraParams ) ; }
Makes all views in context of the controller, not the behavior.
@param string $filePath Absolute path to the view file.
@param array $extraParams Parameters that should be available to the view.
@return string
Makes all views in context of the controller not the behavior .