1
0
Fork 0
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:
Samuel Štancl 2019-09-11 19:18:53 +02:00
parent bf48764507
commit 958651099a
3 changed files with 10 additions and 14 deletions

View file

@ -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;
}