SPHPlayground API
SPHPlayground
sphplayground sphplayground

Reflection information parser

BASIC INFORMATION:

Rudimentary extension for some native PHP reflection. [1]

Synopsis
interface Information
Returns the full name of the underlying PHP language structure
public getName():string
Returns the short name of the underlying PHP language structure
public getShortSignature():string
Synopsis
Constructs an instance
public __construct(string $namespace)
public isRoot():bool
Returns the full name of the underlying PHP language structure
public getName():string
Returns the short name of the underlying PHP language structure
public getShortSignature():string
public getNamespace():string
Checks if parent namespace contains child namespace
public isChildNamespaceOf(NamespaceInformation|string $parent):bool
public __toString():string