Exemplo n.º 1
0
    /**
     * loadTemplate
     * 
     * Loads the class template used for generating classes
     *
     * @return void
     */
    protected function loadTemplate()
    {
        if (isset(self::$tpl)) {
            return;
        }
        self::$tpl = <<<END
/**
 * This class has been auto-generated by the Doctrine ORM Framework
 */
class %s extends %s
{
\tpublic function up()
\t{
%s
\t}

\tpublic function down()
\t{
%s
\t}
}
END;
    }