public function refreshCountry(Country $country)
    {

        $refreshedCountry = $this->findCountryBy(array('id' => $country->getId()));
        if (null === $refreshedCountry) {
            throw new UsernameNotFoundException(sprintf('User with ID "%d" could not be reloaded.', $country->getId()));
        }
        return $refreshedCountry;
    }
public function refreshCountry(Country $country)
    {

        $refreshedCountry = $this->findCountryBy(array('id' => $country->getId()));
        if (null === $refreshedCountry) {
            throw new UsernameNotFoundException(sprintf('User with ID "%d" could not be reloaded.', $country->getId()));
        }
        return $refreshedCountry;
    }
public function refreshCountry ( Country $ country ) { $ refreshedCountry = $ this -> findCountryBy ( array ( 'id' => $ country -> getId ( ) ) ) ; if ( null === $ refreshedCountry ) { throw new UsernameNotFoundException ( sprintf ( 'User with ID "%d" could not be reloaded.' , $ country -> getId ( ) ) ) ; } return $ refreshedCountry ; }
Refreshed a Country by Country Instance
@param Country $country
@return Ad
Refreshed a Country by Country Instance