Lines Matching refs:context
308 * @param array $context An array of parameters to pass to the template
316 public function render($name, array $context = []) argument
318 return $this->load($name)->render($context);
325 * @param array $context An array of parameters to pass to the template
331 public function display($name, array $context = []) argument
333 $this->load($name)->display($context);
939 * @param array $context An array representing the context
943 public function mergeGlobals(array $context) argument
948 if (!\array_key_exists($key, $context)) {
949 $context[$key] = $value;
953 return $context;