Lines Matching refs:getArguments
19 …$this->assertEquals(['U', null], $node->getArguments('date', ['format' => 'U', 'timestamp' => null…
29 $node->getArguments('date', ['timestamp' => 123456, 'Y-m-d']);
39 $node->getArguments('date', ['Y-m-d', 'format' => 'U']);
49 $node->getArguments('date', ['Y-m-d', 'timestamp' => null, 'unknown' => '']);
59 … $node->getArguments('date', ['Y-m-d', 'timestamp' => null, 'unknown1' => '', 'unknown2' => '']);
69 … $node->getArguments('substr_compare', ['abcd', 'bc', 'offset' => 1, 'case_sensitivity' => true]);
76 … $this->assertEquals(['arg1'], $node->getArguments([$this, 'customFunction'], ['arg1' => 'arg1']));
82 …$this->assertEquals(['arg1'], $node->getArguments(__CLASS__.'::customStaticFunction', ['arg1' => '…
92 $node->getArguments([$this, 'customFunctionWithArbitraryArguments'], []);
114 $node->getArguments('custom_Twig_Tests_Node_Expression_CallTest_function', []);
124 $node->getArguments(new CallableTestClass(), []);
130 public function getArguments($callable, $arguments) function in Twig_Tests_Node_Expression_Call
132 return parent::getArguments($callable, $arguments);