LoggingAspect
class LoggingAspect (View source)
An aspect which centralizes the logging of important session actions.
Properties
protected LoggerInterface | $logger |
Methods
void
injectLogger(LoggerInterface $logger)
Injects the (system) logger based on PSR-3.
mixed
mixed
mixed
mixed
void
string
getClassName(JoinPointInterface $joinPoint)
Determines the short or full class name of the session implementation
Details
void
injectLogger(LoggerInterface $logger)
Injects the (system) logger based on PSR-3.
mixed
logStart(JoinPointInterface $joinPoint)
Logs calls of start()
mixed
logResume(JoinPointInterface $joinPoint)
Logs calls of resume()
mixed
logDestroy(JoinPointInterface $joinPoint)
Logs calls of destroy()
mixed
logRenewId(JoinPointInterface $joinPoint)
Logs calls of renewId()
void
logCollectGarbage(JoinPointInterface $joinPoint)
Logs calls of collectGarbage()
protected string
getClassName(JoinPointInterface $joinPoint)
Determines the short or full class name of the session implementation