Пример #1
0
 /**
  * @param ServiceReferenceInterface   $caller
  * @param string                      $method
  * @param ValueInterface[]|array|null $arguments
  */
 public function __construct(ServiceReferenceInterface $caller, string $method, array $arguments = null)
 {
     $this->caller = clone $caller;
     $this->method = $method;
     $this->arguments = $arguments;
     $this->stringValue = $caller->getId() . $method;
 }