View
class View implements ArrayAccess, View (View source)
Methods
void __construct(Factory $factory, EngineInterface $engine, string $view, string $path, mixed $data = array()) Create a new view instance. string render(callable $callback = null) Get the string contents of the view. array renderSections() Get the sections of the rendered view. $this with(string|array $key, mixed $value = null) Add a piece of data to the view. $this nest(string $key, string $view, array