Property | Type | Description | |
---|---|---|---|
$cached | boolean | Was this result retrieve from the cache? |
Method | Description | |
---|---|---|
setCache ( object $cache, integer $expires = 900 ) | Enable caching of results |
Method | Description | |
---|---|---|
analyseWithCache ( array | string $headers, $options = [] ) : boolean | Retrieve the result from the cache, or analyse and store in the cache | |
applyCachedData ( array $data ) | Apply cached data to the main Parser object | |
retrieveCachedData ( ) : array | Retrieve the data that can be cached from the main Parser object |