src/PeekAndPoke/Aviator/Mvc/Builder/MvcBuilder.php
protected function getActions(\ReflectionClass $class)
    {
        /** @var ActionDefinition[] $actions */
        $actions = [];

        foreach ($class->getMethods() as $method) {

            if ($method->isStatic() === false && $method->isPublic()) {

                $options   = MvcOptionsCollection::from($this->reader, $method);
                $endpoints = $this->getEndpoints($options);
                $params    = $this->getActionParams($method);

                $actions[] = new ActionDefinition(
                    $class->getName(),
                    $method->getName(),
                    $params,
                    $endpoints,
                    $options
                );
            }
        }

        return $actions;
    }
protected function getActions(\ReflectionClass $class)
    {
        /** @var ActionDefinition[] $actions */
        $actions = [];

        foreach ($class->getMethods() as $method) {

            if ($method->isStatic() === false && $method->isPublic()) {

                $options   = MvcOptionsCollection::from($this->reader, $method);
                $endpoints = $this->getEndpoints($options);
                $params    = $this->getActionParams($method);

                $actions[] = new ActionDefinition(
                    $class->getName(),
                    $method->getName(),
                    $params,
                    $endpoints,
                    $options
                );
            }
        }

        return $actions;
    }
@param \ReflectionClass $class

@return ActionDefinition[]