/** * @param null $compileRelations */ public static function write($compileModel) { $schema = $compileModel; $path = "../" . self::$dirProject . self::$pathFile . self::$nameClasseSingular . ".php"; self::$nameClasseSingular = ""; Generic::saveTo($path, $schema); }
public function writeClass($path, $schema) { Generic::saveTo($path, $schema); //Lipo todas as variaveis Generic::clearReplacements(); }