public function updateContinent(Continent $continent, $andFlush = true)
    {
        $this->objectManager->persist($continent);
        if ($andFlush) {
            $this->objectManager->flush();
        }
    }
public function updateContinent(Continent $continent, $andFlush = true)
    {
        $this->objectManager->persist($continent);
        if ($andFlush) {
            $this->objectManager->flush();
        }
    }
public function updateContinent ( Continent $ continent , $ andFlush = true ) { $ this -> objectManager -> persist ( $ continent ) ; if ( $ andFlush ) { $ this -> objectManager -> flush ( ) ; } }
Updates a Continent.

@param Continent $continent
@param Boolean $andFlush Whether to flush the changes (default true)
Updates a Continent .