\Shmock\ClassBuilderDecorator

Summary

Methods
Constants
decorate()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

decorate()

decorate(\Shmock\ClassBuilder\JoinPoint $joinPoint) : mixed|null

Parameters

\Shmock\ClassBuilder\JoinPoint $joinPoint

specifies information about the invocation and gives callers an opportunity to respond.

Returns

mixed|null —

the desired return value from the execution of $joinPoint. If you do not intend to modify this value, simply return $joinPoint->execute() directly.