Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Database;
4
 
5
use InvalidArgumentException;
6
 
7
class SQLiteDatabaseDoesNotExistException extends InvalidArgumentException
8
{
9
    /**
10
     * The path to the database.
11
     *
12
     * @var string
13
     */
14
    public $path;
15
 
16
    /**
17
     * Create a new exception instance.
18
     *
19
     * @param  string  $path
20
     * @return void
21
     */
22
    public function __construct($path)
23
    {
150 lars 24
        parent::__construct("Database file at path [{$path}] does not exist. Ensure this is an absolute path to the database.");
148 lars 25
 
26
        $this->path = $path;
27
    }
28
}