We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da57c42 commit 0581a19Copy full SHA for 0581a19
readme.md
@@ -44,6 +44,9 @@ This package is tested for the following Laravel versions:
44
**PostStoreRequest**
45
46
```php
47
+use Korridor\LaravelModelValidationRules\Rules\UniqueEloquent;
48
+use Korridor\LaravelModelValidationRules\Rules\ExistsEloquent;
49
+// ...
50
public function rules()
51
{
52
$postId = $this->post->id;
@@ -66,6 +69,9 @@ public function rules()
66
69
**PostUpdateRequest**
67
70
68
71
72
73
74
75
76
77
0 commit comments