/** * Attempts to render the `$template` with `$params` using the ViewManager. If a strategy * is not available then the Tonis fallback strategy is used. * * @param string $template * @param array $params * @return string */ public function render($template, array $params = []) { return $this->write($this->app->getView()->render($template, $params)); }
public function testGetView() { $this->assertInstanceOf(View\Manager::class, $this->app->getView()); }