Scalr\Api\Service\User\V1beta0\Adapter\OrchestrationRuleAdapter::_scope PHP Method

_scope() public method

public _scope ( $from, $to, $action )
    public function _scope($from, $to, $action)
    {
        switch ($action) {
            case static::ACT_CONVERT_TO_OBJECT:
                /* @var $from OrchestrationRule */
                $to->scope = $from->getScope();
                break;
            case static::ACT_CONVERT_TO_ENTITY:
                break;
            case static::ACT_GET_FILTER_CRITERIA:
                return [[]];
        }
    }