Skip to content

ForwardCallAware

  • Full name: \Qubus\Inheritance\ForwardCallAware

Methods

forwardCallTo

Forward a method call to the given object.

protected forwardCallTo(mixed $object, string $method, array $parameters = []): mixed

Parameters:

Parameter Type Description
$object mixed
$method string
$parameters array

Throws:


forwardDecoratedCallTo

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

protected forwardDecoratedCallTo(mixed $object, string $method, array $parameters = []): mixed

Parameters:

Parameter Type Description
$object mixed
$method string
$parameters array

Throws:


throwBadMethodCallException

Throw a bad method call exception for the given method.

protected static throwBadMethodCallException(string $method): never
  • This method is static.

Parameters:

Parameter Type Description
$method string

Throws:



Automatically generated on 2025-10-13