Replace Hook with EventDispatcher in Feature class

This commit is contained in:
Art4 2025-01-29 08:12:08 +00:00 committed by Hypolite Petovan
parent b9a191f6d8
commit f3ccd198a4
4 changed files with 21 additions and 5 deletions

View file

@ -20,6 +20,8 @@ final class ArrayFilterEvent extends Event
public const NAV_INFO = 'friendica.data.nav_info';
public const FEATURE_ENABLED = 'friendica.data.feature_enabled';
private array $array;
public function __construct(string $name, array $array)