public static function convertVariableTo(\PHY\Variable\AVar $variable, $convertTo = 'Obj')
        {
            $method = 'to'.$convertTo;
            if (!is_callable([$variable, $method])) {
                throw new \PHY\Variable\Exception('Could not convert "'.$variable->getType().'" to "'.$convertTo.'"');
            }
            $value = $variable->{$method}();
            return static::create($convertTo, $value);
        }