private function getFileTemplate()
    {
        $content = FormatFileContent::createObject();
        $content->addItem('<?php');
        $content->addItem(
            sprintf(
                '/**Migration file generated at %s on %s by PowerOrm(%s)*/',
                date('h:m:i'),
                date('D, jS F Y'),
                POWERORM_VERSION
            ).PHP_EOL
        );

        $content->addItem('namespace %s;'.PHP_EOL);

        $content->addItem('use Eddmash\\PowerOrm\\Migration\\Migration;');
        $content->addItem('%s');

        $content->addItem('class %s extends Migration{'.PHP_EOL);

        $content->addIndent();
        $content->addItem('public function getDependency(){');

        $content->addIndent();
        $content->addItem('return [');

        $content->addItem('%s');

        $content->addItem('];');
        $content->reduceIndent();

        $content->addItem('}'.PHP_EOL);

        $content->addItem('public function getOperations(){');

        $content->addIndent();
        $content->addItem('return %s ;');
        $content->reduceIndent();

        $content->addItem('}'.PHP_EOL);
        $content->reduceIndent();

        $content->addItem('}');

        return $content;
    }
private function getFileTemplate()
    {
        $content = FormatFileContent::createObject();
        $content->addItem('<?php');
        $content->addItem(
            sprintf(
                '/**Migration file generated at %s on %s by PowerOrm(%s)*/',
                date('h:m:i'),
                date('D, jS F Y'),
                POWERORM_VERSION
            ).PHP_EOL
        );

        $content->addItem('namespace %s;'.PHP_EOL);

        $content->addItem('use Eddmash\\PowerOrm\\Migration\\Migration;');
        $content->addItem('%s');

        $content->addItem('class %s extends Migration{'.PHP_EOL);

        $content->addIndent();
        $content->addItem('public function getDependency(){');

        $content->addIndent();
        $content->addItem('return [');

        $content->addItem('%s');

        $content->addItem('];');
        $content->reduceIndent();

        $content->addItem('}'.PHP_EOL);

        $content->addItem('public function getOperations(){');

        $content->addIndent();
        $content->addItem('return %s ;');
        $content->reduceIndent();

        $content->addItem('}'.PHP_EOL);
        $content->reduceIndent();

        $content->addItem('}');

        return $content;
    }
private function getFileTemplate ( ) { $ content = FormatFileContent :: createObject ( ) ; $ content -> addItem ( '<?php' ) ; $ content -> addItem ( sprintf ( '/**Migration file generated at %s on %s by PowerOrm(%s)*/' , date ( 'h:m:i' ) , date ( 'D, jS F Y' ) , POWERORM_VERSION ) . PHP_EOL ) ; $ content -> addItem ( 'namespace %s;' . PHP_EOL ) ; $ content -> addItem ( 'use Eddmash\\PowerOrm\\Migration\\Migration;' ) ; $ content -> addItem ( '%s' ) ; $ content -> addItem ( 'class %s extends Migration{' . PHP_EOL ) ; $ content -> addIndent ( ) ; $ content -> addItem ( 'public function getDependency(){' ) ; $ content -> addIndent ( ) ; $ content -> addItem ( 'return [' ) ; $ content -> addItem ( '%s' ) ; $ content -> addItem ( '];' ) ; $ content -> reduceIndent ( ) ; $ content -> addItem ( '}' . PHP_EOL ) ; $ content -> addItem ( 'public function getOperations(){' ) ; $ content -> addIndent ( ) ; $ content -> addItem ( 'return %s ;' ) ; $ content -> reduceIndent ( ) ; $ content -> addItem ( '}' . PHP_EOL ) ; $ content -> reduceIndent ( ) ; $ content -> addItem ( '}' ) ; return $ content ; }
Creates the template for the migration file.

@return static

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
Creates the template for the migration file .