Application API Documentation

Directional Consulting

Classes

LatencyExtension extends AbstractExtension in package

Class LatencyExtension extends Twig filters for color highlighting based on latency

Table of Contents

getFilters()  : array<string|int, mixed>
Gets the Twig filters being registered
latencyColor()  : string
Returns the calculated latency CSS color style

Methods

getFilters()

Gets the Twig filters being registered

public getFilters() : array<string|int, mixed>
Return values
array<string|int, mixed>

latencyColor()

Returns the calculated latency CSS color style

public latencyColor(int $latency) : string
Parameters
$latency : int
Return values
string

$color


        

Search Results

Search results

Found Results