public function deleteObjective(Objective $objective)
    {
        $this->om->remove($objective);
        $this->om->flush();
    }
public function deleteObjective(Objective $objective)
    {
        $this->om->remove($objective);
        $this->om->flush();
    }
public function deleteObjective ( Objective $ objective ) { $ this -> om -> remove ( $ objective ) ; $ this -> om -> flush ( ) ; }
Deletes an objective.

@param Objective $objective
Deletes an objective .