HtmlCacheReader
extends HtmlProvider
in package
Class HtmlCacheReader
Table of Contents
- CACHE_FILE_TTL_IN_MINUTES = 15
- $cacheFilePath : CacheFilePath
- $curl : Curl
- $endpointUrl : EndpointUrl
- __construct() : mixed
- HtmlCacheReader constructor.
- dashboardHtml() : string
Constants
CACHE_FILE_TTL_IN_MINUTES
protected
mixed
CACHE_FILE_TTL_IN_MINUTES
= 15
Properties
$cacheFilePath
protected
CacheFilePath
$cacheFilePath
$curl
protected
Curl
$curl
$endpointUrl
protected
EndpointUrl
$endpointUrl
Methods
__construct()
HtmlCacheReader constructor.
public
__construct(EndpointUrl $endpointUrl, Curl $curl, CacheFilePath $cacheFilePath) : mixed
Parameters
- $endpointUrl : EndpointUrl
- $curl : Curl
- $cacheFilePath : CacheFilePath
Return values
mixed —dashboardHtml()
public
dashboardHtml() : string