src/Common/Service/FileCache/Driver.php
public function read(string $sKey): ?Item
    {
        return $this->exists($sKey) ? $this->newItem($sKey) : null;
    }
public function read(string $sKey): ?Item
    {
        return $this->exists($sKey) ? $this->newItem($sKey) : null;
    }
public function read ( string $ sKey ) : ? Item { return $ this -> exists ( $ sKey ) ? $ this -> newItem ( $ sKey ) : null ; }
Reads a file from the cache

@param string $sKey The key of the item

@return Item|null
@throws FactoryException
Reads a file from the cache