src/Locale/LocaleService.php
public function getCountry(IdentifierInterface $identifier)
    {
        $identifierFull = $identifier->getFull();
        return isset($this->countries[$identifierFull]) ? $this->countries[$identifierFull] : null;
    }
public function getCountry(IdentifierInterface $identifier)
    {
        $identifierFull = $identifier->getFull();
        return isset($this->countries[$identifierFull]) ? $this->countries[$identifierFull] : null;
    }
public function getCountry ( IdentifierInterface $ identifier ) { $ identifierFull = $ identifier -> getFull ( ) ; return isset ( $ this -> countries [ $ identifierFull ] ) ? $ this -> countries [ $ identifierFull ] : null ; }
Uses the identifier to retrieve the country object from the cache
@param \Heystack\Core\Identifier\IdentifierInterface $identifier
@return \Heystack\Ecommerce\Locale\Interfaces\CountryInterface|null
Uses the identifier to retrieve the country object from the cache