peterkahl/european

Methods relating to Europe and the European Union.

v2.5 2019-06-18 17:39 UTC

README

Downloads License If this project has business value for you then don't hesitate to support me with a small donation.

Methods relating to Europe and the European Union.

Usage

use peterkahl\European\European;

echo (European::ShallTheUKRemainInTheEuropeanUnion()) ? 'yes' : 'no'; # yes, say those who have a brain.

echo (European::isBorisJohnsonCrookedLiar()) ? 'yes' : 'no';  # yes, of course! He shall be prosecuted.

echo (European::isEuropeanCountry('RU')) ? 'yes' : 'no';      # no
echo (European::isEuropeanCountry('AL')) ? 'yes' : 'no';      # yes

echo (European::isEEACountry('AR')) ? 'yes' : 'no';           # no
echo (European::isEEACountry('NO')) ? 'yes' : 'no';           # yes

echo (European::isEuropeanUnionCountry('CA')) ? 'yes' : 'no'; # no
echo (European::isEuropeanUnionCountry('GB')) ? 'yes' : 'no'; # yes

echo (European::countryUsesEuro('GB')) ? 'yes' : 'no';        # no
echo (European::countryUsesEuro('MC')) ? 'yes' : 'no';        # yes