/** * Disable the CDN sharing for this container * * Use this method to disallow distribution into the CDN of this Container's * content. * * NOTE: Any content already cached in the CDN will continue to be served * from its cache until the TTL expiration transpires. The default * TTL is typically one day, so "privatizing" the Container will take * up to 24 hours before the content is purged from the CDN cache. * * Example: * <code> * # ... authentication code excluded (see previous examples) ... * # * $conn = new CF_Connection($auth); * * $public_container = $conn->get_container("public"); * * # Disable CDN accessability * # ... still cached up to a month based on previous example * # * $public_container->make_private(); * </code> * * @returns boolean True if successful * @throws CDNNotEnabledException CDN functionality not returned during auth * @throws AuthenticationException if auth token is not valid/expired * @throws InvalidResponseException unexpected response */ function make_private() { $this->initContainer(); return parent::make_private(); }