Nelmio\Alice\Definition\MethodCall\NoMethodCall::getCaller PHP 메소드

getCaller() 공개 메소드

public getCaller ( )
    public function getCaller()
    {
        $this->throwException(__METHOD__);
    }

Usage Example

예제 #1
0
 /**
  * @expectedException \LogicException
  * @expectedExceptionMessage By its nature, "Nelmio\Alice\Definition\MethodCall\NoMethodCall::getCaller()" should not be called.
  */
 public function testCannotGetCaller()
 {
     $call = new NoMethodCall();
     $call->getCaller();
 }