public function allowedHttpMethods(): array
    {
        $allowedHttpMethods = [];

        foreach ($this->httpMethodRouteMap as $item) {
            foreach ($item[0] as $method) {
                $allowedHttpMethods[] = $method;
            }
        }

        return \array_values($allowedHttpMethods);
    }
public function allowedHttpMethods(): array
    {
        $allowedHttpMethods = [];

        foreach ($this->httpMethodRouteMap as $item) {
            foreach ($item[0] as $method) {
                $allowedHttpMethods[] = $method;
            }
        }

        return \array_values($allowedHttpMethods);
    }
public function allowedHttpMethods ( ) : array { $ allowedHttpMethods = [ ] ; foreach ( $ this -> httpMethodRouteMap as $ item ) { foreach ( $ item [ 0 ] as $ method ) { $ allowedHttpMethods [ ] = $ method ; } } return \ array_values ( $ allowedHttpMethods ) ; }
Get all allowed http methods.

@return array
Get all allowed http methods .