Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Database\Migrations;
4
 
5
abstract class Migration
6
{
7
    /**
8
     * The name of the database connection to use.
9
     *
10
     * @var string|null
11
     */
12
    protected $connection;
13
 
14
    /**
15
     * Enables, if supported, wrapping the migration within a transaction.
16
     *
17
     * @var bool
18
     */
19
    public $withinTransaction = true;
20
 
21
    /**
22
     * Get the migration connection name.
23
     *
24
     * @return string|null
25
     */
26
    public function getConnection()
27
    {
28
        return $this->connection;
29
    }
30
}