AppserverIo\Appserver\Core\Api\Node\AuthConstraintNode::__construct PHP Méthode

__construct() public méthode

Initializes the node with the passed values.
public __construct ( AppserverIo\Configuration\Interfaces\NodeValueInterface $description = null, array $roleNames = [] )
$description AppserverIo\Configuration\Interfaces\NodeValueInterface The description information
$roleNames array The array with the role names
    public function __construct(NodeValueInterface $description = null, array $roleNames = array())
    {
        $this->roleNames = $roleNames;
        $this->description = $description;
    }