Strata\Shell\Command\Generator\CommandGenerator

Generates a Strata shell command

    Synopsis

    class CommandGenerator extends GeneratorBase {
    }

    Hierarchy

    Members

    protected

    Methods

    protected

    • generateCommand() — Configures the class writer and makes it generate the classes required by the object type.
    • generateTest() — Configures the class writer and makes it generate the test classes required by the object type.

    public

    Inherited from Strata\Shell\Command\Generator\GeneratorBase

    protected

    • getWriter() — Obtain an instantiated ClassWriter object to create files.

    public

    • applyOptions() — Send option values to the generator so it can manipulate the information.
    • generate() — Performs all the operations required by the generator.