mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 02:04:03 +00:00
event callback -> event listener
This commit is contained in:
parent
bf48764507
commit
958651099a
3 changed files with 10 additions and 14 deletions
|
|
@ -39,8 +39,7 @@ class TelescopeTags implements FeatureProvider
|
|||
return ($this->callback)($entry);
|
||||
}
|
||||
|
||||
// todo name?
|
||||
public function tagUsing(callable $callback)
|
||||
public function setCallback(callable $callback)
|
||||
{
|
||||
$this->callback = $callback;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue