Adds a method to call to be injected on any service implementing the interface.
public addMethodCall ( string $method, array $arguments = [] ) : |
||
$method | string | The method name to call |
$arguments | array | An array of arguments to pass to the method call |
return | The current instance |