public function updateCountry(Country $country, $andFlush = true)
    {
        $this->objectManager->persist($country);
        if ($andFlush) {
            $this->objectManager->flush();
        }
    }
public function updateCountry(Country $country, $andFlush = true)
    {
        $this->objectManager->persist($country);
        if ($andFlush) {
            $this->objectManager->flush();
        }
    }
public function updateCountry ( Country $ country , $ andFlush = true ) { $ this -> objectManager -> persist ( $ country ) ; if ( $ andFlush ) { $ this -> objectManager -> flush ( ) ; } }
Updates a Country.

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