src/Controller.php
public function createNotAllowedException($message, \Exception $lastException = null) {
        $exception = new AccessDeniedHttpException($message, $lastException);

        return $this->container->minionError($exception, 403);
    }
public function createNotAllowedException($message, \Exception $lastException = null) {
        $exception = new AccessDeniedHttpException($message, $lastException);

        return $this->container->minionError($exception, 403);
    }
{@inheritdoc}