src/ClassGenerator/Generator.php
protected function beforeGeneration()
    {
        // Class props
        $this->config->getLogger()->startBreak('XSD Parsing');
        $this->XSDMap = XSDMapGenerator::buildXSDMap($this->config);
        $this->config->getLogger()->endBreak('XSD Parsing');

        // Initialize some classes and things.
        $this->config->getLogger()->startBreak('Generator Class Initialization');
        self::_initializeClasses($this->config);

        $this->autoloadMap = new AutoloaderTemplate($this->config);

        $this->mapTemplate = new ParserMapTemplate($this->config);
        $this->autoloadMap->addEntry(
            $this->mapTemplate->getClassName(),
            $this->mapTemplate->getClassPath()
        );

        $helperTemplate = new HelperTemplate($this->config);
        $helperTemplate->writeToFile();
        $this->autoloadMap->addEntry(
            $helperTemplate->getClassName(),
            $helperTemplate->getClassPath()
        );

        $this->config->getLogger()->endBreak('Generator Class Initialization');
    }
protected function beforeGeneration()
    {
        // Class props
        $this->config->getLogger()->startBreak('XSD Parsing');
        $this->XSDMap = XSDMapGenerator::buildXSDMap($this->config);
        $this->config->getLogger()->endBreak('XSD Parsing');

        // Initialize some classes and things.
        $this->config->getLogger()->startBreak('Generator Class Initialization');
        self::_initializeClasses($this->config);

        $this->autoloadMap = new AutoloaderTemplate($this->config);

        $this->mapTemplate = new ParserMapTemplate($this->config);
        $this->autoloadMap->addEntry(
            $this->mapTemplate->getClassName(),
            $this->mapTemplate->getClassPath()
        );

        $helperTemplate = new HelperTemplate($this->config);
        $helperTemplate->writeToFile();
        $this->autoloadMap->addEntry(
            $helperTemplate->getClassName(),
            $helperTemplate->getClassPath()
        );

        $this->config->getLogger()->endBreak('Generator Class Initialization');
    }
Commands to run prior to class generation