mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:14:04 +00:00
16 lines
No EOL
406 B
PHP
16 lines
No EOL
406 B
PHP
<?php
|
|
|
|
namespace Stancl\Tenancy\Exceptions;
|
|
|
|
use Exception;
|
|
use Stancl\Tenancy\Resolvers\PathTenantResolver;
|
|
|
|
class RouteIsMissingTenantParameterException extends Exception
|
|
{
|
|
public function __construct()
|
|
{
|
|
$parameter = PathTenantResolver::$tenantParameterName;
|
|
|
|
parent::__construct("The route's first argument is not the tenant id (configured paramter name: $parameter).");
|
|
}
|
|
} |