trait Illuminate / Support / Traits / ForwardsCalls
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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