angel_framework.hooks library

Easy helper hooks.


disable([dynamic provider ]) HookedServiceEventListener
Disables a service method for access from a provider. [...]
remove(dynamic key, dynamic remover(dynamic key, dynamic obj)) HookedServiceEventListener
Removes one or more keys from service results. Works on single results, and iterable results.
toJson() HookedServiceEventListener
Transforms into JSON-friendly data, i.e. a Map.
toType(Type type) HookedServiceEventListener
Transforms into an instance of the given type, if it is not already.