File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/laravel/framework/src/Illuminate/Database
Upload
[..]
Capsule/
Rename
Del
Concerns/
Rename
Del
Connectors/
Rename
Del
Console/
Rename
Del
DeadlockException.php (114 B)
Edit
Rename
Del
DetectsConcurrencyErrors.php (784 B)
Edit
Rename
Del
DetectsLostConnections.php (722 B)
Edit
Rename
Del
Eloquent/
Rename
Del
Events/
Rename
Del
Grammar.php (8.02 KB)
Edit
Rename
Del
LICENSE.md (1.05 KB)
Edit
Rename
Del
Migrations/
Rename
Del
MySqlConnection.php (4.76 KB)
Edit
Rename
Del
Query/
Rename
Del
README.md (2.16 KB)
Edit
Rename
Del
Schema/
Rename
Del
Seeder.php (4.62 KB)
Edit
Rename
Del
UniqueConstraintViolationException.php (876 B)
Edit
Rename
Del
composer.json (1.94 KB)
Edit
Rename
Del
Edit: UniqueConstraintViolationException.php
<?php namespace Illuminate\Database; class UniqueConstraintViolationException extends QueryException { /** * The unique index which prevented the query. * * @var string|null */ public ?string $index = null; /** * The columns which caused the violation. * * @var list<string> */ public array $columns = []; /** * Set the unique index which caused the violation. * * @param string|null $index * @return $this */ public function setIndex(?string $index): self { $this->index = $index; return $this; } /** * Set the columns that caused the violation. * * @param list<string> $columns * @return $this */ public function setColumns(array $columns): self { $this->columns = $columns; return $this; } }
Simpan