diff --git a/README.md b/README.md index 5a50bab..7b6f8ac 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,9 @@ If we have a scope named "***delivered***" this call will include the scope. If we have a global scope named "**not_delivered**" this call with remove the global scope. ### Create Controller, Service, Repository & Model with one Command. + +If you want to create Controller, Service, Repository, Model, Exceptions and Events with one Command, then you can use: + ```php artisan component:make {parent} {name}``` ### Eager loading diff --git a/src/Console/Stubs/services/service.stub b/src/Console/Stubs/services/service.stub index 873d7fb..e2569ce 100644 --- a/src/Console/Stubs/services/service.stub +++ b/src/Console/Stubs/services/service.stub @@ -24,7 +24,7 @@ class DummyClass public function getAll($options = []) { - return $this->dummyVariableRepository->get($options); + return $this->dummyVariableRepository->getWithCount($options); } public function getById($dummyVariableId, array $options = [])