Scalr\Modules\AbstractPlatformModule::hasCloudPrices PHP Method

hasCloudPrices() public method

See also: Scalr\Modules\PlatformModuleInterface::hasCloudPrices()
public hasCloudPrices ( Scalr_Environment $env )
$env Scalr_Environment
    public function hasCloudPrices(\Scalr_Environment $env)
    {
        if (!$this->container->analytics->enabled) {
            return false;
        }
        //This method is supposed to be overridden
        return $this->platform ? $this->container->analytics->prices->hasPriceForUrl($this->platform, '') : false;
    }