public function setAutoIncrement($autoIncrement) { $this->autoIncrement = filter_var($autoIncrement, FILTER_VALIDATE_BOOLEAN); }