public function refreshContinent(Continent $continent)
    {

        $refreshedContinent = $this->findContinentBy(array('id' => $continent->getId()));
        if (null === $refreshedContinent) {
            throw new UsernameNotFoundException(sprintf('User with ID "%d" could not be reloaded.', $continent->getId()));
        }
        return $refreshedContinent;
    }
public function refreshContinent(Continent $continent)
    {

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