Mercurial > packages > magicforger
comparison src/Generator/Requests/RequestGenerator.php @ 45:c7fd31303024 default tip
merging down to default
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Thu, 12 Nov 2026 21:19:53 -0500 |
| parents | 2cf26b593f4a |
| children |
comparison
equal
deleted
inserted
replaced
| 34:f65ab84ee47f | 45:c7fd31303024 |
|---|---|
| 88 */ | 88 */ |
| 89 protected function getStub() {} | 89 protected function getStub() {} |
| 90 | 90 |
| 91 protected function createFilterRequest() | 91 protected function createFilterRequest() |
| 92 { | 92 { |
| 93 $this->call('mf:filter_request', ['table' => $this->getTableInput()]); | 93 $this->call('mf:filter_request', ['table' => $this->getTableInput(), '--fresh' => $this->option('fresh')]); |
| 94 } | 94 } |
| 95 | 95 |
| 96 protected function createStoreRequest() | 96 protected function createStoreRequest() |
| 97 { | 97 { |
| 98 $this->call('mf:store_request', ['table' => $this->getTableInput()]); | 98 $this->call('mf:store_request', ['table' => $this->getTableInput(), '--fresh' => $this->option('fresh')]); |
| 99 } | 99 } |
| 100 | 100 |
| 101 protected function createUpdateRequest() | 101 protected function createUpdateRequest() |
| 102 { | 102 { |
| 103 $this->call('mf:update_request', ['table' => $this->getTableInput()]); | 103 $this->call('mf:update_request', ['table' => $this->getTableInput(), '--fresh' => $this->option('fresh')]); |
| 104 } | 104 } |
| 105 } | 105 } |
