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.


Top ↑

Return Return

(ReflectionClass|null) The class of the parameter, or null if it hasn't any.


Top ↑

Source Source

File: src/Internal/DependencyManagement/AbstractServiceProvider.php


			


Top ↑

User Contributed Notes User Contributed Notes

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