public function container($name) {
    //$result = $this->modifyContainer($name, 'GET', array(), '?format=json');

    $containers = $this->containers();
    foreach ($containers as $container) {
      if ($container['name'] == $name) {
        return $container;
      }
    }
    return FALSE;
  }
public function container($name) {
    //$result = $this->modifyContainer($name, 'GET', array(), '?format=json');

    $containers = $this->containers();
    foreach ($containers as $container) {
      if ($container['name'] == $name) {
        return $container;
      }
    }
    return FALSE;
  }
public function container ( $ name ) { //$result = $this->modifyContainer($name, 'GET', array(), '?format=json'); $ containers = $ this -> containers ( ) ; foreach ( $ containers as $ container ) { if ( $ container [ 'name' ] == $ name ) { return $ container ; } } return FALSE ; }
Get a container by name.

@todo The current (1.0) version does not support a verb for getting
just one container, so we have to get the entire list of containers.

Example return value:
@code
<?php
array(
'log_retention' => 1
'cdn_enabled' => 1
'name' => 'I♡HPCloud'
'x-cdn-uri' => 'http://hcf937838.cdn.aw1.hpcloud.net'
'ttl' => 1234
);
?>
@endcode

@param string $name
The name of the container to fetch.
@retval array
@return array
An associative array in the exact format as in containers.
Get a container by name .