15 abstract public static function name(): string;
22 final public static function instance():
static {
33 final public static function call(): mixed {
34 $arguments = func_get_args();
35 $method = array_shift($arguments);
37 return elgg()->call([self::instance(), $method], $arguments);
if(! $user||! $user->canDelete()) $name
elgg()
Bootstrapping and helper procedural code available for use in Elgg core and plugins.
trait ServiceFacade
Utility trait that can be used by public services to provide better IDE support and type-hinting.