Skip to content

Commit

Permalink
Fix code wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbachorski committed Jan 30, 2020
1 parent 682b34b commit 0857e55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ php artisan xmake:controller FoobarController --model=Foobar --request=FoobarReq
<summary>Results</summary>

_Controller_

```php
<?php

Expand Down Expand Up @@ -155,6 +156,7 @@ class FoobarController extends Controller
```

_Model_

```php
<?php

Expand All @@ -169,6 +171,7 @@ class Foobar extends Model
```

_Request_

```php
<?php

Expand Down Expand Up @@ -589,6 +592,7 @@ It creates request with given validation rules prepared or filled.

<details>
<summary>Example</summary>

```shell
php artisan xmake:request FoobarRequest --fields=foo,bar
```
Expand Down Expand Up @@ -637,6 +641,7 @@ It creates factory with given factory rules prepared or filled.

<details>
<summary>Example</summary>

```shell
php artisan xmake:factory FoobarFactory --fields=foo,bar
```
Expand Down

0 comments on commit 0857e55

Please sign in to comment.