Файловый менеджер - Редактировать - /home/autoovt/www/ConnectsToDatabase.php.tar
Назад
autoovt/www/vendor-old/laravel/framework/src/Illuminate/Database/PDO/Concerns/ConnectsToDatabase.php0000666 00000001511 14765642673 0030473 0 ustar 00 home <?php namespace Illuminate\Database\PDO\Concerns; use Illuminate\Database\PDO\Connection; use InvalidArgumentException; use PDO; trait ConnectsToDatabase { /** * Create a new database connection. * * @param mixed[] $params * @param string|null $username * @param string|null $password * @param mixed[] $driverOptions * @return \Illuminate\Database\PDO\Connection * * @throws \InvalidArgumentException */ public function connect(array $params, $username = null, $password = null, array $driverOptions = []) { if (! isset($params['pdo']) || ! $params['pdo'] instanceof PDO) { throw new InvalidArgumentException('Laravel requires the "pdo" property to be set and be a PDO instance.'); } return new Connection($params['pdo']); } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка