public function get($key)
    {
        $accessorMethod = 'get' . ucfirst($key);
        if (method_exists($this, $accessorMethod)) {
            return $this->$accessorMethod();
        }

        return $this->_get($key);
    }
public function get($key)
    {
        $accessorMethod = 'get' . ucfirst($key);
        if (method_exists($this, $accessorMethod)) {
            return $this->$accessorMethod();
        }

        return $this->_get($key);
    }
public function get ( $ key ) { $ accessorMethod = 'get' . ucfirst ( $ key ) ; if ( method_exists ( $ this , $ accessorMethod ) ) { return $ this -> $ accessorMethod ( ) ; } return $ this -> _get ( $ key ) ; }
Returns the configuration

If an accessor method (i.e.: "getMyKey") is available it will be called

@param string $key
@return mixed
Returns the configuration