public function setBoolean($bool = true) { // if we didn't define a default already, set false as the default value... if ($this->default === null) { $this->setDefault(false); } $this->boolean = $bool; return $this; }