Nwidart\Modules\tests\Commands\MigrationCommandTest::expectedAddMigrationContent PHP Method

expectedAddMigrationContent() private method

    private function expectedAddMigrationContent()
    {
        return <<<TEXT
<?php

use Illuminate\\Support\\Facades\\Schema;
use Illuminate\\Database\\Schema\\Blueprint;
use Illuminate\\Database\\Migrations\\Migration;

class AddSomethingToPostsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('posts', function (Blueprint \$table) {

        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('posts', function (Blueprint \$table) {

        });
    }
}

TEXT;
    }