final class FrameworkInfo (View source)

Immutable metadata accessor for the framework name, version, and powered-by header values.

Constants

private NAME

private VERSION

private POWERED_BY_HEADER

Methods

string
name()

Returns the stable framework name.

string
string

Returns the current framework version constant.

string
string

Returns the framework name and version in the "NAME / VERSION" format.

string
string

Returns the HTTP header name used to identify the framework.

string
string

Returns the value used for the powered-by header.

string

Details

name

string name()

Returns the stable framework name.

Return Value

string

version

string version()

Returns the current framework version constant.

Return Value

string

fullName

string fullName()

Returns the framework name and version in the "NAME / VERSION" format.

Return Value

string

poweredByHeader

string poweredByHeader()

Returns the HTTP header name used to identify the framework.

Return Value

string

poweredByValue

string poweredByValue()

Returns the value used for the powered-by header.

It currently matches the full framework name and version string.

Return Value

string