trait ForwardsCalls (View source)

Methods

mixed
forwardCallTo(object $object, string $method, array $parameters)

Forward a method call to the given object.

static never
throwBadMethodCallException(string $method)

Throw a bad method call exception for the given method.

Details

protected mixed forwardCallTo(object $object, string $method, array $parameters)

Forward a method call to the given object.

Parameters

object $object
string $method
array $parameters

Return Value

mixed

static protected never throwBadMethodCallException(string $method)

Throw a bad method call exception for the given method.

Parameters

string $method

Return Value

never