AppserverIo\Appserver\Core\Api\Node\StorageNode::__construct PHP Метод

__construct() публичный Метод

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;
    }