make:action
Create a new domain action class
Synopsis
make:action <name> <domain>
Arguments and options
name— The name of the actiondomain— The name of the domain
Use
- Prerequisites
- Use a valid generated type name and create its required parent Service or Domain first.
- Effect
- Creates the selected generated application type at the manifest-defined path.
- Generated paths or files
app/Pulsar/Domain/{Domain}/Actions/{Name}.php- Success output shape
- Reports the command outcome; file generators report their generated location.
- Expected failures
- Invalid names, missing parents, and duplicate target files fail without replacing an existing file.
- Overwrite policy
- Existing generated files are not overwritten.
Checked example
pulsar make:action Example Orders