AppserverIo\Appserver\Core\Api\Node\LocationNode::toArray PHP Method

toArray() public method

Converts the location node into an associative array and returns it.
public toArray ( ) : array
return array The array with the location node data
    public function toArray()
    {
        return array('condition' => $this->getCondition(), 'params' => $this->getParamsAsArray(), 'handlers' => $this->getFileHandlersAsArray(), 'headers' => $this->getHeadersAsArray());
    }