src/package/Http/Controllers/Flag.php
/**
     * Find a country by its cca3 code and hydrate flag.
     *
     * @param $cca3
     * @return null
     */
Find a country by its cca3 code and hydrate flag.
@param $cca3
@return null
Find a country by its cca3 code and hydrate flag . @param $cca3 @return null
private function findCountryByCca3($cca3)
    {
        if (is_null($country = CountriesFacade::where('cca3', Str::upper($cca3)))) {
            abort(404);
        }
        return $country->first()->hydrateFlag();
    }
private function findCountryByCca3 ( $ cca3 ) { if ( is_null ( $ country = CountriesFacade :: where ( 'cca3' , Str :: upper ( $ cca3 ) ) ) ) { abort ( 404 ) ; } return $ country -> first ( ) -> hydrateFlag ( ) ; }
Find a country by its cca3 code and hydrate flag.
Find a country by its cca3 code and hydrate flag .