public __construct ( Nelmio\Alice\Definition\ServiceReferenceInterface $caller, string $method, array $arguments = null ) | ||
$caller | Nelmio\Alice\Definition\ServiceReferenceInterface | |
$method | string | |
$arguments | array |
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;
}