コード例 #1
0
ファイル: FunctionRegistryTest.php プロジェクト: jxav/iless
 /**
  * @covers addFunction
  */
 public function testCustomFunction()
 {
     $registry = new FunctionRegistry();
     $registry->addFunction('foobar', [$this, 'foobarCallable']);
     $registry->call('foobar', ['a', 'b']);
 }