Replace Hook with EventDispatcher in Feature class

This commit is contained in:
Art4 2025-01-29 08:37:03 +00:00 committed by Hypolite Petovan
parent 673fc71c21
commit d9a2d676d2
4 changed files with 13 additions and 4 deletions

View file

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