src/OptionsRenderer.php
private function getEntityBody(ResourceObject $ro, array $allows) : array
    {
        $mehtodList = [];
        foreach ($allows as $method) {
            $mehtodList[$method] = ($this->optionsMethod)($ro, $method);
        }

        return $mehtodList;
    }
private function getEntityBody(ResourceObject $ro, array $allows) : array
    {
        $mehtodList = [];
        foreach ($allows as $method) {
            $mehtodList[$method] = ($this->optionsMethod)($ro, $method);
        }

        return $mehtodList;
    }
private function getEntityBody ( ResourceObject $ ro , array $ allows ) : array { $ mehtodList = [ ] ; foreach ( $ allows as $ method ) { $ mehtodList [ $ method ] = ( $ this -> optionsMethod ) ( $ ro , $ method ) ; } return $ mehtodList ; }
Return OPTIONS entity body
Return OPTIONS entity body