Scalr\Service\Aws\CloudFront\DataType\DistributionData::refreshConfig PHP Méthode

refreshConfig() public méthode

Refreshes distribution config data set using API request to Amazon. NOTE! It refreshes object itself only when EntityManager is enabled. Decision is to use $object = object->refreshConfig() instead;
public refreshConfig ( ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData
Résultat Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData
    public function refreshConfig()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getCloudFront()->distribution->getConfig($this->distributionId);
    }