public function getUrlPatternsAsArray()
    {

        // initialize the array for the URL patterns
        $urlPatterns = array();

        // prepare the URL patterns
        /** @var \AppserverIo\Appserver\Core\Api\Node\UrlPatternNode $urlPatternNode */
        foreach ($this->getUrlPatterns() as $urlPatternNode) {
            $urlPatterns[] = $urlPatternNode->__toString();
        }

        // return the array with the URL patterns
        return $urlPatterns;
    }
public function getUrlPatternsAsArray()
    {

        // initialize the array for the URL patterns
        $urlPatterns = array();

        // prepare the URL patterns
        /** @var \AppserverIo\Appserver\Core\Api\Node\UrlPatternNode $urlPatternNode */
        foreach ($this->getUrlPatterns() as $urlPatternNode) {
            $urlPatterns[] = $urlPatternNode->__toString();
        }

        // return the array with the URL patterns
        return $urlPatterns;
    }
public function getUrlPatternsAsArray ( ) { // initialize the array for the URL patterns $ urlPatterns = array ( ) ; // prepare the URL patterns /** @var \AppserverIo\Appserver\Core\Api\Node\UrlPatternNode $urlPatternNode */ foreach ( $ this -> getUrlPatterns ( ) as $ urlPatternNode ) { $ urlPatterns [ ] = $ urlPatternNode -> __toString ( ) ; } // return the array with the URL patterns return $ urlPatterns ; }
Returns the URL patterns as an associative array

@return array The array with the sorted URL patterns
Returns the URL patterns as an associative array