Source of file LocaleServiceInterface.php
Size: 1,192 Bytes - Last Modified: 2021-12-24T06:51:34+00:00
/var/www/docs.ssmods.com/process/src/src/Locale/Interfaces/LocaleServiceInterface.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | <?php namespace Heystack\Ecommerce\Locale\Interfaces; use Heystack\Core\Identifier\IdentifierInterface; use Heystack\Core\State\StateableInterface; /** * Interface LocaleServiceInterface * @package Heystack\Ecommerce\Locale\Interfaces */ interface LocaleServiceInterface extends StateableInterface { /** * @param IdentifierInterface $identifier * @return void */ public function setActiveCountry(IdentifierInterface $identifier); /** * @return \Heystack\Ecommerce\Locale\Interfaces\CountryInterface */ public function getActiveCountry(); /** * @param IdentifierInterface $identifier * @return \Heystack\Ecommerce\Locale\Interfaces\CountryInterface|null */ public function getCountry(IdentifierInterface $identifier); /** * @return \Heystack\Ecommerce\Locale\Interfaces\CountryInterface[] */ public function getCountries(); /** * @return \Heystack\Ecommerce\Locale\Interfaces\CountryInterface */ public function getDefaultCountry(); /** * @param IdentifierInterface $identifier * @return bool */ public function hasCountry(IdentifierInterface $identifier); } |