FrameworkInfo
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
name()
Returns the stable framework name.
string
version()
Returns the current framework version constant.
string
fullName()
Returns the framework name and version in the "NAME / VERSION" format.
string
Returns the HTTP header name used to identify the framework.
string
Returns the value used for the powered-by header.
string
Details
name
string
name()
Returns the stable framework name.
version
string
version()
Returns the current framework version constant.
fullName
string
fullName()
Returns the framework name and version in the "NAME / VERSION" format.
poweredByHeader
string
poweredByHeader()
Returns the HTTP header name used to identify the framework.
poweredByValue
string
poweredByValue()
Returns the value used for the powered-by header.
It currently matches the full framework name and version string.