public function getCountry($id)
    {
        foreach ($this->data as $country) {
            if (strtoupper($id) == (string) $country) {
                return $country;
            }
        }

        return null;
    }
public function getCountry($id)
    {
        foreach ($this->data as $country) {
            if (strtoupper($id) == (string) $country) {
                return $country;
            }
        }

        return null;
    }
public function getCountry ( $ id ) { foreach ( $ this -> data as $ country ) { if ( strtoupper ( $ id ) == ( string ) $ country ) { return $ country ; } } return null ; }
Retrieve a country from the collection

@param $id
@return CountryTimezone|null
Retrieve a country from the collection