Files
kulakpos_web/vendor/knuckleswtf/scribe/src/Exceptions/DatabaseTransactionsNotSupported.php
2026-04-18 19:47:13 +07:00

16 lines
587 B
PHP

<?php
namespace Knuckles\Scribe\Exceptions;
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.'
);
}
}