Nelmio\Alice\Definition\MethodCallInterface::getCaller PHP Method

getCaller() public method

public getCaller ( ) : Nelmio\Alice\Definition\ServiceReferenceInterface | null
return Nelmio\Alice\Definition\ServiceReferenceInterface | null No caller means that the caller is the instance of the object itself.
    public function getCaller();

Usage Example

Beispiel #1
0
 /**
  * @inheritdoc
  */
 public function getCaller()
 {
     return $this->methodCall->getCaller();
 }