Lines Matching refs:name
68 $name = 'foo',
72 ->exception(function () use ($context, $name) {
73 $context->getVariable($name);
82 $name = 'foo',
86 $context->addVariable($name, $callable)
88 ->when($result = $context->getVariable($name))
129 $name = 'FOO',
133 ->exception(function () use ($context, $name) {
134 $context->getConstant($name);
143 $name = 'PI',
147 ->exception(function () use ($context, $name) {
148 $context->addConstant($name, 42);
157 $name = 'FOO',
160 $context->addConstant($name, $value)
162 ->when($result = $context->getConstant($name))
208 $name = 'foo',
212 ->exception(function () use ($context, $name) {
213 $context->getFunction($name);
222 $name = 'foo',
226 ->exception(function () use ($context, $name) {
227 $context->addFunction($name);
236 $name = 'foo',
239 $context->addFunction($name, $callable)
241 ->when($result = $context->getFunction($name))
251 $name = 'foo',
255 $context->addFunction($name, $callable)
257 ->when($result = $context->getFunction($name))