interface StubDataQueryInterface implements ClassQueryInterface, FunctionQueryInterface, InterfaceQueryInterface, EnumQueryInterface, ConstantQueryInterface (View source)

Composed read-only query interface for accessing parsed stub/reflection data.

Extends five entity-specific query interfaces so that clients can depend on only the slice they need (Interface Segregation Principle).

Validators that need multiple entity types should depend on this composed interface; validators that only need one type can depend on the narrower interface (e.g. ConstantQueryInterface).

Methods

array
getClasses()

No description

bool
hasClass(string $id)

No description

array
getFunctions()

No description

array
getInterfaces()

No description

bool
hasInterface(string $id)

No description

array
getEnums()

No description

bool
hasEnum(string $id)

No description

array
getConstants()

No description

Details

array getClasses()

No description

Return Value

array

bool hasClass(string $id)

No description

Parameters

string $id

Return Value

bool

array getFunctions()

No description

Return Value

array

array getInterfaces()

No description

Return Value

array

bool hasInterface(string $id)

No description

Parameters

string $id

Return Value

bool

array getEnums()

No description

Return Value

array

bool hasEnum(string $id)

No description

Parameters

string $id

Return Value

bool

array getConstants()

No description

Return Value

array