Lines Matching refs:ModuleInterface
196 use Fisharebest\Webtrees\Module\ModuleInterface; alias
539 * @return Closure(ModuleInterface):string
543 return static fn (ModuleInterface $module): string => $module->title();
560 …->filter(static fn (ModuleInterface $module): bool => $module->accessLevel($tree, $interface) >= A…
625 … ->map(static function (ModuleInterface $module) use ($module_info): ModuleInterface {
668 ->map(static function (string $class, string $name): ModuleInterface {
719 private static function load(string $filename): ModuleInterface|null
737 * @return Closure(ModuleInterface):bool
741 … return static fn (ModuleInterface $module): bool => $include_disabled || $module->isEnabled();
751 * @return Closure(ModuleInterface):bool
755 return static fn (ModuleInterface $module): bool => $module instanceof $interface;
804 * @return Closure(ModuleInterface,ModuleInterface):int
808 return static function (ModuleInterface $x, ModuleInterface $y): int {
824 …->filter(static fn (ModuleInterface $module): bool => $module instanceof ModuleLanguageInterface &…
831 …blic function findByName(string $module_name, bool $include_disabled = false): ModuleInterface|null
834 ->first(static fn (ModuleInterface $module): bool => $module->name() === $module_name);
847 return $this->findByInterface(ModuleInterface::class, $include_disabled, true)
848 ->filter(static function (ModuleInterface $module): bool {
869 ->map(static fn (ModuleInterface $module): string => $module->name());