/** * @return BasePattern **/ protected function buildBusiness(MetaClass $class) { $this->dumpFile($class->getAutoPath() . 'Auto' . $class->getName() . EXT_CLASS, Format::indentize(AutoClassBuilder::build($class))); $userFile = $class->getPath() . $class->getName() . EXT_CLASS; if (MetaConfiguration::me()->isForcedGeneration() || !file_exists($userFile)) { $this->dumpFile($userFile, Format::indentize(BusinessClassBuilder::build($class))); } return $this; }