__call() public method

Calls proxy functions
public __call ( string $name, array $arguments ) : mixed
$name string
$arguments array
return mixed
Beispiel #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testInexistentWithMagicCallFunction()
 {
     $cachetool = new CacheTool(null, $this->getLogger());
     $cachetool->__call('doesNotExist', array());
 }