public function setAllOrNothingFlush($allOrNothing) { $this->attributes['allOrNothingFlush'] = (bool) $allOrNothing; }