Addressable::setAllowedCountries
Sets the countries that a user can select. There are three possible values:
<ul> <li>null: Present a text box to the user.</li> <li>string: Set the country to the two letter country code passed, and do not allow users to select a country.</li> <li>array: Allow users to select from the list of passed countries.</li> </ul>
Signature
public function setAllowedCountries(
$countries )
Parameters
$countries
—