ForwardsCalls
trait ForwardsCalls (View source)
Methods
mixed
forwardCallTo(mixed $object, string $method, array $parameters)
Forward a method call to the given object.
mixed
forwardDecoratedCallTo(mixed $object, string $method, array $parameters)
Forward a method call to the given object, returning $this if the forwarded call returned itself.
static void
throwBadMethodCallException(string $method)
Throw a bad method call exception for the given method.
Details
protected mixed
forwardCallTo(mixed $object, string $method, array $parameters)
Forward a method call to the given object.
protected mixed
forwardDecoratedCallTo(mixed $object, string $method, array $parameters)
Forward a method call to the given object, returning $this if the forwarded call returned itself.
static protected void
throwBadMethodCallException(string $method)
Throw a bad method call exception for the given method.