PoweredByComponent
class PoweredByComponent implements ComponentInterface (View source)
Adds the "X-Flow-Powered" to the response.
Properties
protected ObjectManagerInterface | $objectManager |
Methods
void
static string
renderMajorVersion(string $version)
Renders a major version out of a full version string
static string
renderMinorVersion(string $version)
Renders a minor version out of a full version string
static string
prepareApplicationToken(ObjectManagerInterface $objectManager)
Generate an application information header for the response based on settings and package versions.
Details
void
handle(ComponentContext $componentContext)
No description
static protected string
renderMajorVersion(string $version)
Renders a major version out of a full version string
static protected string
renderMinorVersion(string $version)
Renders a minor version out of a full version string
static string
prepareApplicationToken(ObjectManagerInterface $objectManager)
Generate an application information header for the response based on settings and package versions.
Will statically compile in production for performance benefits.