trait Illuminate / Support / Traits / ForwardsCalls

ForwardsCalls

Methods

protected

forwardCallTo ( $object , $method , $parameters ) : mixed

Forward a method call to the given object.

Parameters

  • $object mixed
  • $method string
  • $parameters array
protected

forwardDecoratedCallTo ( $object , $method , $parameters ) : mixed

Forward a method call to the given object, returning $this if the forwarded call returned itself.

Parameters

  • $object mixed
  • $method string
  • $parameters array
protected static

throwBadMethodCallException ( $method ) : void

Throw a bad method call exception for the given method.

Parameters

  • $method string