<?php get_class_methods(object|string $object_or_class): array
<?php protected function registerCoreModifiers() { $modifiers = collect(); $methods = array_diff(get_class_methods(CoreModifiers::class), get_class_methods(Modifier::class)); foreach ($methods as $method) { $modifiers[Str::snake($method)] = CoreModifiers::class.'@'.$method;