ProviderRegistry::isRegisteredId( string $idOrClassName ): bool

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only by core. It is listed here for completeness.

Checks if the given value is a registered provider ID.

Parameters

$idOrClassNamestringrequired
The value to check.

Return

bool True if it’s a registered provider ID.

Source

private function isRegisteredId(string $idOrClassName): bool
{
    return isset($this->registeredIdsToClassNames[$idOrClassName]);
}

Changelog

VersionDescription
0.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.