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

__construct() public method

Initializes the node with the passed values.
public __construct ( AppserverIo\Configuration\Interfaces\NodeValueInterface $displayName = null, array $webResourceCollections = [], AppserverIo\Appserver\Core\Api\Node\AuthConstraintNodeInterface $authConstraint = null )
$displayName AppserverIo\Configuration\Interfaces\NodeValueInterface The display name information
$webResourceCollections array The array with the web resource collection information
$authConstraint AppserverIo\Appserver\Core\Api\Node\AuthConstraintNodeInterface The auth constraint information
    public function __construct(NodeValueInterface $displayName = null, array $webResourceCollections = array(), AuthConstraintNodeInterface $authConstraint = null)
    {
        $this->displayName = $displayName;
        $this->authConstraint = $authConstraint;
        $this->webResourceCollections = $webResourceCollections;
    }