Source of file CountryInterface.php
Size: 0,913 Bytes - Last Modified: 2021-12-24T06:51:34+00:00
/var/www/docs.ssmods.com/process/src/src/Locale/Interfaces/CountryInterface.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546 | <?php /** * This file is part of the Ecommerce-Core package * * @package Ecommerce-Core */ /** * Interfaces namespace */ namespace Heystack\Ecommerce\Locale\Interfaces; /** * Defines what methods/functions a Country class needs to implement * * @copyright Heyday * @author Glenn Bautista <glenn@heyday.co.nz> * @package Ecommerce-Core */ interface CountryInterface { /** * Returns a unique identifier * @return \Heystack\Core\Identifier\Identifier */ public function getIdentifier(); /** * Returns the name of the country object * @return string */ public function getName(); /** * Returns the country code of the country object * @return string */ public function getCountryCode(); /** * Returns a boolean indicating whether this is the default country * @return bool */ public function isDefault(); } |