Skip to content

Commit 1c63dba

Browse files
committed
Removed command section
1 parent cb9f7bb commit 1c63dba

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

repository.md

+1-25
Original file line numberDiff line numberDiff line change
@@ -189,32 +189,8 @@ Additionally, the user may wish to customize where your generated classes gets s
189189
]
190190
]
191191
```
192-
#### COMMANDS
193-
In order to generate all the functions that the user needs for the respective Model, this command can be run:
194192

195-
```php
196-
php artisan make:entity Post
197-
```
198-
This will create the Model, the Repository, the Presenter and the Transformer classes.
199-
200-
The user can also pass the options from the **repository **command, since this command is just a wrapper.
201-
202-
To generate a repository for your Post model, the following command can be utilized
203-
204-
```php
205-
php artisan make:repository Post
206-
```
207-
If you would like to implement a namespace to your blog, you could utilize the following command.
208-
209-
```php
210-
php artisan make:repository "Blog\Post"
211-
```
212-
There are certain Added fields that are fillable by the user.
213-
214-
```php
215-
php artisan make:repository "Blog\Post" --fillable="title,content"
216-
```
217-
When the user is running command, he/she will be creating the "Entities" folder and "Repositories" inside the folder that you set as the default.
193+
#### Binding the repository
218194

219195
Done, done that just now you do bind its interface for your real repository, for example in your own Repositories Service Provider.
220196

0 commit comments

Comments
 (0)