/** * {@inheritDoc} */ public function onExecute($request, ActionInterface $action) { if ($action instanceof LoggerAwareInterface) { $action->setLogger($this->logger); } }