CallTrait

trait CallTrait

Methods

$this call(string $method, array $arguments = array())

Adds a method to call after service initialization.

Details

final $this call(string $method, array $arguments = array())

Adds a method to call after service initialization.

Parameters

string $method The method name to call
array $arguments An array of arguments to pass to the method call

Return Value

$this

Exceptions

InvalidArgumentException on empty $method param