Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[7.x] Publish the form request stub used by RequestMakeCommand #31962
With V7 we got the awesome
One thing it doesn't cover is the default FormRequest, which is something I feel would be quite a good stub for things if you create your own base FormRequest class with custom methods and you want all the created form requests to extend your new base class.
This PR simply updates the RequestMakeCommand to function the same as the generators that have their stubs published.
@rcerljenko I looked into it, however the observers have several other placeholders that get replaced, and as they're not part of the default replacements done via the GeneratorCommand I'd have to name them, and I don't want this PR to get rejected due to names in the observer stub.
It's pretty simple to do though, Check out the files changed in this PR, and how the JobMakeCommand functions with the boolean and then you can base your own PR around that for the observer stub and have the discussion there about what best to name the replacements