trait CallTrait

Methods

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

Adds a method to call after service initialization.

Details

at line 28
final $this call(string $method, array $arguments = [])

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