public function getEnvironment($name)
    {
        return isset($this->environments[$name]) ? $this->environments[$name] : null;
    }
public function getEnvironment($name)
    {
        return isset($this->environments[$name]) ? $this->environments[$name] : null;
    }
public function getEnvironment ( $ name ) { return isset ( $ this -> environments [ $ name ] ) ? $ this -> environments [ $ name ] : null ; }
Returns the configuration for a given environment.

This method returns <code>null</code> if the specified environment
doesn't exist.

@param string $name Environment name

@return array|null
Returns the configuration for a given environment .