src/Meta.php
private function getOptions(string $class) : Options
    {
        $ref = new \ReflectionClass($class);
        $allows = $this->getAllows($ref->getMethods());
        $params = [];
        foreach ($allows as $method) {
            $params[] = $this->getParams($class, $method);
        }

        return new Options($allows, $params);
    }
private function getOptions(string $class) : Options
    {
        $ref = new \ReflectionClass($class);
        $allows = $this->getAllows($ref->getMethods());
        $params = [];
        foreach ($allows as $method) {
            $params[] = $this->getParams($class, $method);
        }

        return new Options($allows, $params);
    }
private function getOptions ( string $ class ) : Options { $ ref = new \ ReflectionClass ( $ class ) ; $ allows = $ this -> getAllows ( $ ref -> getMethods ( ) ) ; $ params = [ ] ; foreach ( $ allows as $ method ) { $ params [ ] = $ this -> getParams ( $ class , $ method ) ; } return new Options ( $ allows , $ params ) ; }
Return available resource request method
Return available resource request method