/** * @param string|ModelInterface $nameOrModel The script/resource process, or a view model * @param null|array|\ArrayAccess $values Values to use during rendering * @return string The script output. */ public function render($nameOrModel, $values = null) { $result = $this->negotiator->negotiate($nameOrModel->getVariables(), $nameOrModel->getAccept()); return $result; }