Skip to content

Commit da30efe

Browse files
committed
update readme
1 parent 708f395 commit da30efe

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,26 @@ Example of using it in controller
109109
{
110110
```
111111

112+
# Custom Params
113+
114+
You write extra params with rules with @QAparam comment line
115+
116+
```php
117+
/**
118+
* @QAparam search string
119+
*/
120+
public function index(MyIndexRequest $request): Resource
121+
{
122+
```
123+
124+
```php
125+
/**
126+
* @QAparam search string nullable max:32
127+
*/
128+
public function index(MyIndexRequest $request): Resource
129+
{
130+
```
131+
112132
# Testing
113133

114134
```bash

0 commit comments

Comments
 (0)