abstract class StaticClassNameConverter (View source)

This class provides utility method to retrieve class names, and to convert proxy class names to original class names

Methods

static string
getRealClass(string $class)

Gets the real class name of a class name that could be a proxy.

static string
getClass(object $object)

Gets the real class name of an object (even if its a proxy).

Details

static string getRealClass(string $class)

Gets the real class name of a class name that could be a proxy.

Parameters

string $class

Return Value

string

static string getClass(object $object)

Gets the real class name of an object (even if its a proxy).

Parameters

object $object

Return Value

string