Skip to content

Commit 1f7111e

Browse files
committed
pipe models modelsPath scope and scope value form legacy to models-count
1 parent ca62454 commit 1f7111e

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
All notable changes to `laravel-eloquentize-client` will be documented in this file.
44

5+
28-02-2024
6+
7+
Create a branch and a tag for old project, use dev-php7.4
8+
59
23-02-2024
610

711
First commit, for alpha release
812

9-
28-02-2024
10-
11-
Create a branch and a tag for old project, use dev-php7.4

README.ALX

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ testing are done thru sqlite on memory
55
a fake app minimal laravel architecture for testing is in /src/app
66

77
have a loop at fake app path on TestCase:getEnvironmentSetUp
8-
and composer.json set a App namespace on
8+
and composer.json set a App namespace on
9+
10+
to add to the doc:
11+
php artisan eloquentize:models-count --models=User --scope=Email --scopeValue="[email protected]" -v
12+
13+

src/Commands/ModelsCountLegacy.php

+4
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ public function handle()
6868
'--event' => $event,
6969
'--modelsPath' => $modelsPath,
7070
'--dateFormat' => $dateFormat,
71+
'--models' => $this->option('models'),
72+
'--modelsPath' => $this->option('modelsPath'),
73+
'--scope' => $this->option('scope'),
74+
'--scopeValue' => $this->option('scopeValue'),
7175
]);
7276

7377
// Advance the progress bar after processing each date

0 commit comments

Comments
 (0)