PHP Class Scalr\Api\Service\User\V1beta0\Adapter\ScalingRule\BasicScalingRuleAdapter

Since: 5.11.7 (25.01.2016)
Author: Andrii Penchuk ([email protected])
Inheritance: extends Scalr\Api\Service\User\V1beta0\Adapter\ScalingRuleAdapter
Exibir arquivo Open project: scalr/scalr Class Usage Examples

Protected Properties

Property Type Description
$rules array Converter rules

Public Methods

Method Description
_scaleDown ( $from, $to, $action )
_scaleUp ( $from, $to, $action )
validateEntity ( $entity )

Method Details

_scaleDown() public method

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

_scaleUp() public method

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

validateEntity() public method

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

Property Details

$rules protected_oe property

Converter rules
protected array $rules
return array