src/EventListener/JsonRequestListener.php
private function getActionAnnotations(array $controller)
    {
        $actionMethod = (new \ReflectionClass(get_class($controller[0])))
            ->getMethod($controller[1]);

        return $this->reader->getMethodAnnotations($actionMethod);
    }
private function getActionAnnotations(array $controller)
    {
        $actionMethod = (new \ReflectionClass(get_class($controller[0])))
            ->getMethod($controller[1]);

        return $this->reader->getMethodAnnotations($actionMethod);
    }
@param array $controller

@return object[]