public function addCountry($countryCode, $country)
    {
        if (! isset($this->repository->countries[$countryCode])) {
            $this->repository->countries[$countryCode] = $country;
        }
    }
public function addCountry($countryCode, $country)
    {
        if (! isset($this->repository->countries[$countryCode])) {
            $this->repository->countries[$countryCode] = $country;
        }
    }
public function addCountry ( $ countryCode , $ country ) { if ( ! isset ( $ this -> repository -> countries [ $ countryCode ] ) ) { $ this -> repository -> countries [ $ countryCode ] = $ country ; } }
Check and create a country in the repository.

@param $country
@param $countryCode
Check and create a country in the repository .