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\Events;
4
 
5
class SchemaDumped
6
{
7
    /**
8
     * The database connection instance.
9
     *
10
     * @var \Illuminate\Database\Connection
11
     */
12
    public $connection;
13
 
14
    /**
15
     * The database connection name.
16
     *
17
     * @var string
18
     */
19
    public $connectionName;
20
 
21
    /**
22
     * The path to the schema dump.
23
     *
24
     * @var string
25
     */
26
    public $path;
27
 
28
    /**
29
     * Create a new event instance.
30
     *
31
     * @param  \Illuminate\Database\Connection  $connection
32
     * @param  string  $path
33
     * @return void
34
     */
35
    public function __construct($connection, $path)
36
    {
37
        $this->connection = $connection;
38
        $this->connectionName = $connection->getName();
39
        $this->path = $path;
40
    }
41
}