public function lstTimeZoneCountries(string $continent): array
    {
        $allCountries = $this->lstTimeZone();
        $countries    = [];

        foreach ($allCountries as $country) {
            if (strpos($country, $continent) !== false) {
                $countries[] = $country;
            }
        }

        return $countries;
    }
public function lstTimeZoneCountries(string $continent): array
    {
        $allCountries = $this->lstTimeZone();
        $countries    = [];

        foreach ($allCountries as $country) {
            if (strpos($country, $continent) !== false) {
                $countries[] = $country;
            }
        }

        return $countries;
    }
public function lstTimeZoneCountries ( string $ continent ) : array { $ allCountries = $ this -> lstTimeZone ( ) ; $ countries = [ ] ; foreach ( $ allCountries as $ country ) { if ( strpos ( $ country , $ continent ) !== false ) { $ countries [ ] = $ country ; } } return $ countries ; }
List all available country for a continent

@param string $continent The continent for which we want
the countries list

@return string[]
List all available country for a continent