Lines Matching defs:context
3 * Handlebars context
31 * @var array stack for context only top stack is available
58 * @param mixed $context Default rendering context (default: null)
59 * @param array $options Options for the context. It may contain the following: (default: empty array)
64 public function __construct($context = null, $options = [])
66 if ($context !== null) {
67 $this->stack = [$context];
83 * @param mixed $value Object or array to use for context
204 * Change the current context to one of current context members
206 * @param string $variableName name of variable or a callable on current context
219 * Get a avariable from current context
223 * @param string $variableName variavle name to get from current context
247 'can not find variable in context'
262 'can not find variable in context'
300 'Can not find variable in context'
320 'Can not find variable in context'
340 'Can not find variable in context'
378 throw new InvalidArgumentException('can not find variable in context');