AOP.io
  • { PHP AOP } API Doc
  • Documentation
  • Tree
  • Make a donation via Paypal

Namespaces

  • Aop
    • Advice
    • Aspect
    • Exception
    • JoinPoint
      • Support
      • Traits
    • Pointcut
    • Traits
    • Weaver
  • PatchworkInterceptor
  • PeclAop
  • PHP

Interfaces

  • ArgsGetterSupportInterface
  • ArgsSetterSupportInterface
  • ClassSupportInterface
  • ExceptionGetterSupportInterface
  • FunctionSupportInterface
  • JoinPointSupportInterceptorInterface
  • KindSupportInterface
  • MethodSupportInterface
  • PointcutSupportInterface
  • ProceedSupportInterface
  • PropertySupportInterface
  • PropertyValueGetterSupportInterface
  • PropertyValueSetterSupportInterface
  • ReturnValueGetterSupportInterface
  • ReturnValueSetterSupportInterface

Interface ReturnValueGetterSupportInterface

ReturnValueGetterSupportInterface provides the accessor method to get the returned value of a callable (function or method) intercepted.

Direct known implementers

  • Aop\JoinPoint\AfterFunctionJoinPoint
  • Aop\JoinPoint\AfterFunctionReturnJoinPoint
  • Aop\JoinPoint\AfterMethodJoinPoint
  • Aop\JoinPoint\AfterMethodReturnJoinPoint
  • Aop\JoinPoint\AroundFunctionJoinPoint
  • Aop\JoinPoint\AroundMethodJoinPoint
  • Aop\JoinPoint\Support\JoinPointSupportInterceptorInterface

Indirect known implementers

  • PatchworkInterceptor\JoinPointSupportInterceptor
  • PeclAop\JoinPointSupportInterceptor
Located at php-aop/src/Aop/JoinPoint/Support/ReturnValueGetterSupportInterface.php
Namespace Aop\JoinPoint\Support
Author Nicolas Tallefourtane <dev@nicolab.net>

Methods summary

public &mixed &
# getReturnValue( )

Get the returned value by the current callable intercepted.

Get the returned value by the current callable intercepted.

If in an advice of kind around the method getReturnValue() is called before the execution of the proceed() method, a JoinPointException is thrown.

Returns

&mixed
The value returned (by reference).

Magic methods summary

{ PHP AOP } API Doc Generated with ApiGen