Skip to content
Merged
Changes from 2 commits
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
10 changes: 10 additions & 0 deletions src/GenericModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,16 @@ public static function enableRegistry(): void
static::$registry = true;
}

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

/**
*
*
Expand Down
Loading