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

__construct() public method

Initializes the storage configuration with the passed values.
public __construct ( string $type = '', array $storageServers = [] )
$type string The manager class name
$storageServers array The array with the storage servers
    public function __construct($type = '', array $storageServers = array())
    {
        // initialize the UUID
        $this->setUuid($this->newUuid());
        // set the data
        $this->type = $type;
        $this->storageServers = $storageServers;
    }