interface AfterCallAspect (View source)

An AfterCallAspect is run after a method is executed

This is a declared interface, but isn't actually required as PHP doesn't really care about types...

Methods

public
afterCall(object $proxied, string $method, string $args, mixed $result)

Call this aspect after a method is executed

Details

afterCall(object $proxied, string $method, string $args, mixed $result)

Call this aspect after a method is executed

Parameters

object $proxied

The object having the method called upon it.

string $method

The name of the method being called

string $args

The arguments that were passed to the method call

mixed $result

The result of calling the method on the real object