mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
Default tag callback for Telescope
This commit is contained in:
parent
553b162930
commit
dcc9bda758
1 changed files with 7 additions and 0 deletions
|
|
@ -14,6 +14,13 @@ class TelescopeTags implements Feature
|
|||
/** @var callable User-specific callback that returns tags. */
|
||||
protected $callback;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->callback = function ($entry) {
|
||||
return [];
|
||||
};
|
||||
}
|
||||
|
||||
public function bootstrap(TenantManager $tenantManager): void
|
||||
{
|
||||
if (! class_exists(Telescope::class)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue