final class Reflection (View source)

Provides helper methods for reflection.

Methods

static string|null
getParameterClassName(ReflectionParameter $parameter)

Gets the parameter's class name.

Details

static string|null getParameterClassName(ReflectionParameter $parameter)

Gets the parameter's class name.

Parameters

ReflectionParameter $parameter

The parameter.

Return Value

string|null

The parameter's class name or NULL if the parameter is not a class.