public function required($notNull = true) { $this->required = true; $this->notNull = $notNull; return $this; }