public function getHttpMethodOmissionsAsArray()
    {

        // initialize the array for the HTTP method omissions
        $httpMethodOmissions = array();

        // prepare the HTTP method omissions
        /** @var \AppserverIo\Appserver\Core\Api\Node\HttpMethodOmissionNode $httpMethodOmissionNode */
        foreach ($this->getHttpMethodOmissions() as $httpMethodOmissionNode) {
            $httpMethodOmissions[] = strtoupper($httpMethodOmissionNode->__toString());
        }

        // return the array with the HTTP method omissions
        return $httpMethodOmissions;
    }
public function getHttpMethodOmissionsAsArray()
    {

        // initialize the array for the HTTP method omissions
        $httpMethodOmissions = array();

        // prepare the HTTP method omissions
        /** @var \AppserverIo\Appserver\Core\Api\Node\HttpMethodOmissionNode $httpMethodOmissionNode */
        foreach ($this->getHttpMethodOmissions() as $httpMethodOmissionNode) {
            $httpMethodOmissions[] = strtoupper($httpMethodOmissionNode->__toString());
        }

        // return the array with the HTTP method omissions
        return $httpMethodOmissions;
    }
public function getHttpMethodOmissionsAsArray ( ) { // initialize the array for the HTTP method omissions $ httpMethodOmissions = array ( ) ; // prepare the HTTP method omissions /** @var \AppserverIo\Appserver\Core\Api\Node\HttpMethodOmissionNode $httpMethodOmissionNode */ foreach ( $ this -> getHttpMethodOmissions ( ) as $ httpMethodOmissionNode ) { $ httpMethodOmissions [ ] = strtoupper ( $ httpMethodOmissionNode -> __toString ( ) ) ; } // return the array with the HTTP method omissions return $ httpMethodOmissions ; }
Returns the HTTP method omissions as an associative array.

The HTTP methods will be converted to upper case when using this method.

@return array The array with the HTTP method omissions
Returns the HTTP method omissions as an associative array .