column)) { $this->column = $attribute; } return DB::table($this->table)->where($this->column, '=', $attributes[$attribute])->count() == 0; } /** * Set the database table and column. * * @param string $table * @param string $column * @return Uniqueness_Of */ public function on($table, $column = null) { $this->table = $table; $this->column = $column; return $this; } }