File "DatabaseTransactionsNotSupported.php"
Full Path: /var/www/html/back/vendor/knuckleswtf/scribe/src/Exceptions/DatabaseTransactionsNotSupported.php
File size: 610 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Knuckles\Scribe\Exceptions;
use RuntimeException;
class DatabaseTransactionsNotSupported extends RuntimeException implements ScribeException
{
public static function create(string $connectionName, string $driverName)
{
return new self(
"Database driver [{$driverName}] for connection [{$connectionName}] does not support transactions." .
" To allow Scribe to proceed, remove \"{$connectionName}\" from the \"database_connections_to_transact\" config array.".
" Note that any changes to your database will be persisted."
);
}
}