Heystack\Core\Console\Command\GenerateDataObjects
Generates DataObject class files from provided DataObject schemas
When run this command with generate the DataObject class for the "Cached*" DataObjects
and also the "Stored*" DataObjects if they don't exist
The generation of "Stored*" DataObject can be forced via the "-f" flag
- Author: Cam Spiers <cameron@heyday.co.nz>
Synopsis
class GenerateDataObjects
extends Command
{
- // members
- private DataObjectGenerator $generatorService;
- // methods
- public void __construct()
- protected null configure()
- protected null execute()
Hierarchy
Extends
- Symfony\Component\Console\Command\Command
Members
private
- $generatorService — \Heystack\Core\DataObjectGenerate\DataObjectGenerator
Methods
protected
- configure() — Configure the commands options
- execute() — Generate the container