AppserverIo\Appserver\Core\Api\Node\WebResourceCollectionNode::__construct PHP Method

__construct() public method

Initializes the node with the passed values.
public __construct ( AppserverIo\Configuration\Interfaces\NodeValueInterface $webResourceName = null, AppserverIo\Configuration\Interfaces\NodeValueInterface $description = null, array $urlPatterns = [], array $httpMethods = [], array $httpMethodOmissions = [] )
$webResourceName AppserverIo\Configuration\Interfaces\NodeValueInterface The web resource name information
$description AppserverIo\Configuration\Interfaces\NodeValueInterface The description information
$urlPatterns array The array with the URL pattern information
$httpMethods array The array with the HTTP method information
$httpMethodOmissions array The array with the HTTP method omission information
    public function __construct(NodeValueInterface $webResourceName = null, NodeValueInterface $description = null, array $urlPatterns = array(), array $httpMethods = array(), array $httpMethodOmissions = array())
    {
        $this->webResourceName = $webResourceName;
        $this->description = $description;
        $this->urlPatterns = $urlPatterns;
        $this->httpMethods = $httpMethods;
        $this->httpMethodOmissions = $httpMethodOmissions;
    }