Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | integer |
protected int $disk | ||
Результат | integer |
protected array $extra | ||
Результат | array |
protected float $price | ||
Результат | float |
protected string $provider | ||
Результат | string |
protected int $ram | ||
Результат | integer |