protected function setCountryCity($country_code)
    {
        $this->data_country = $this->country->get($country_code);

        if (empty($this->data_country)) {
            $this->outputHttpStatus(404);
        }
    }
protected function setCountryCity($country_code)
    {
        $this->data_country = $this->country->get($country_code);

        if (empty($this->data_country)) {
            $this->outputHttpStatus(404);
        }
    }
protected function setCountryCity ( $ country_code ) { $ this -> data_country = $ this -> country -> get ( $ country_code ) ; if ( empty ( $ this -> data_country ) ) { $ this -> outputHttpStatus ( 404 ) ; } }
Returns an array of country data
@param string $country_code
Returns an array of country data