Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
AbstractServiceProvider::get_class( ReflectionParameter $parameter )
Gets the class of a parameter.
Description Description
This method is a replacement for ReflectionParameter::getClass, which is deprecated as of PHP 8.
Parameters Parameters
- $parameter
-
(Required) The parameter to get the class for.
Return Return
(ReflectionClass|null) The class of the parameter, or null if it hasn't any.
Source Source
File: src/Internal/DependencyManagement/AbstractServiceProvider.php