15 abstract public static function name();
22 public static function instance() {
33 public static function call() {
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.