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

__construct() public method

Initializes the directory node with the necessary data.
public __construct ( AppserverIo\Configuration\Interfaces\ValueInterface $nodeValue = null, string $enforced = false )
$nodeValue AppserverIo\Configuration\Interfaces\ValueInterface The node value
$enforced string The enforcement flag
    public function __construct(ValueInterface $nodeValue = null, $enforced = false)
    {
        $this->nodeValue = $nodeValue;
        $this->enforced = $enforced;
    }