render() public method

Render view. Markdown views are rendered within layout.
public render ( array $vars = [] ) : string
$vars array List of variables passed to text processors
return string
Example #1
0
    public function testNoSourcePathSpecified()
    {
        $this->setExpectedException('Exception', "View input file not specified");
        $view = new View();

        $rendered = $view->render(array());

    }