class CacheAfterCallAspect implements AfterCallAspect (View source)

Methods

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

Logs all hits/misses after a CacheInterface::get call is made.

Details

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

Logs all hits/misses after a CacheInterface::get call is made.

{@inheritdoc}

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