PHP Class Scalr\Api\Service\Account\V1beta0\Adapter\EnvironmentAdapter

Author: N.V.
Inheritance: extends Scalr\Api\DataType\ApiEntityAdapter
Mostra file Open project: scalr/scalr

Protected Properties

Property Type Description
$entityClass
$rules array Converter rules

Public Methods

Method Description
_costCenter ( $from, $to, $action )
_status ( $from, $to, $action )
validateEntity ( $entity )
validateStatus ( string $status ) Validates environment status

Method Details

_costCenter() public method

public _costCenter ( $from, $to, $action )

_status() public method

public _status ( $from, $to, $action )

validateEntity() public method

See also: ApiEntityAdapter::validateEntity()
public validateEntity ( $entity )

validateStatus() public static method

Validates environment status
public static validateStatus ( string $status )
$status string The status name

Property Details

$entityClass protected_oe property

protected $entityClass

$rules protected_oe property

Converter rules
protected array $rules
return array