public function addCondition($condition) { if ($condition !== null) { $this->conditions[] = $condition; } }