protected function getStubContent($table, $create)
    {
        if (is_null($table)) {
            $file = $this->stubsPath() . '/blank.stub';
        } else {
            $stub = $create ? 'create.stub' : 'update.stub';

            $file = $this->stubsPath() . '/' . $stub;
        }

        return file_get_contents($file);
    }
protected function getStubContent($table, $create)
    {
        if (is_null($table)) {
            $file = $this->stubsPath() . '/blank.stub';
        } else {
            $stub = $create ? 'create.stub' : 'update.stub';

            $file = $this->stubsPath() . '/' . $stub;
        }

        return file_get_contents($file);
    }
protected function getStubContent ( $ table , $ create ) { if ( is_null ( $ table ) ) { $ file = $ this -> stubsPath ( ) . '/blank.stub' ; } else { $ stub = $ create ? 'create.stub' : 'update.stub' ; $ file = $ this -> stubsPath ( ) . '/' . $ stub ; } return file_get_contents ( $ file ) ; }
Get the migration stub file.

@param  string $table
@param  bool   $create

@return string
Get the migration stub file .