Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/GenericModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,15 @@ public static function enableRegistry(): void
static::$registry = true;
}

/**
* Check if the registry is enabled
* @return bool true if the registry is enabled
Comment thread
JulianVennen marked this conversation as resolved.
Resolved
*/
public static function isRegistryEnabled(): bool
{
return static::$registry;
Comment thread
JulianVennen marked this conversation as resolved.
Resolved
}

/**
*
*
Expand Down
Loading