Do not assign variables inline. This section was diffucult to read, the following would make more sense:

````
$metadata = $this->cache->load...

if (!$this->cache && ($metadata && $metadata->isFresh()) {
   // ...
}
````