FOF30\Generator\Command\Generate::execute PHP Method

execute() public method

public execute ( )
    public function execute()
    {
        // Run some checks
        $this->doChecks();
        // Ok, I have to generate something, but... what?
        $class = $this->getClass();
        /** @var Command $generator */
        $generator = new $class($this->composer, $this->input);
        $generator->execute();
        $this->out('Class correctly created');
    }