public function findCacheByString(string $string)
    {

        // Check if already in cache
        if (!$this->isCachedByString($string)) {
            return null;
        }

        return $this->cacheByString[$string];
    }
public function findCacheByString(string $string)
    {

        // Check if already in cache
        if (!$this->isCachedByString($string)) {
            return null;
        }

        return $this->cacheByString[$string];
    }
public function findCacheByString ( string $ string ) { // Check if already in cache if ( ! $ this -> isCachedByString ( $ string ) ) { return null ; } return $ this -> cacheByString [ $ string ] ; }
Find an existing cache by string

@param string $string
@return null
Find an existing cache by string