PATH:
home
/
rwabteecom
/
public_html_old
/
vendor
/
stancl
/
tenancy
/
src
/
Exceptions
/
Editing: TenantDatabaseAlreadyExistsException.php
<?php declare(strict_types=1); namespace Stancl\Tenancy\Exceptions; use Stancl\Tenancy\Contracts\TenantCannotBeCreatedException; class TenantDatabaseAlreadyExistsException extends TenantCannotBeCreatedException { /** @var string */ protected $database; public function reason(): string { return "Database {$this->database} already exists."; } public function __construct(string $database) { $this->database = $database; parent::__construct(); } }
SAVE
CANCEL