Property | Type | Description | |
---|---|---|---|
$bandwidth | integer | Amount of bandiwdth included with this size | |
$disk | integer | Amount of disk storage (in GB) provided by this image | |
$extra | array | Optional provider specific attributes associated with | |
$id | string | Size ID | |
$name | string | Size name | |
$price | float | Price (in US dollars) of running this node for an hour | |
$provider | string | Driver this size belongs to | |
$ram | integer | Amount of memory (in MB) provided by this size |
Method | Description | |
---|---|---|
__construct ( $id, $name = null, $ram = null, $disk = null, $bandwidth = null, $price = null, $provider = null, $extra = [] ) | ||
getBandwidth ( ) : integer | ||
getDisk ( ) : integer | ||
getExtra ( ) : array | ||
getId ( ) : string | ||
getName ( ) : string | ||
getPrice ( ) : float | ||
getProvider ( ) : string | ||
getRam ( ) : integer | ||
setBandwidth ( integer $bandwidth ) | ||
setDisk ( integer $disk ) | ||
setExtra ( array $extra ) | ||
setId ( string $id ) | ||
setName ( string $name ) | ||
setPrice ( float $price ) | ||
setProvider ( string $provider ) | ||
setRam ( integer $ram ) |
public __construct ( $id, $name = null, $ram = null, $disk = null, $bandwidth = null, $price = null, $provider = null, $extra = [] ) |
protected int $bandwidth | ||
return | integer |
protected int $disk | ||
return | integer |
protected array $extra | ||
return | array |
protected float $price | ||
return | float |
protected int $ram | ||
return | integer |