public function get(string $entryIdentifier)
    {
        if (!$this->isValidEntryIdentifier($entryIdentifier)) {
            throw new \InvalidArgumentException('"' . $entryIdentifier . '" is not a valid cache entry identifier.', 1233057752);
        }
        $code = $this->backend->get($entryIdentifier);

        if ($code === false) {
            return false;
        }

        preg_match('/^(?:.*\n){1}((?:.*\n)*)(?:.+\n?|\n)$/', $code, $matches);

        return $matches[1];
    }
public function get(string $entryIdentifier)
    {
        if (!$this->isValidEntryIdentifier($entryIdentifier)) {
            throw new \InvalidArgumentException('"' . $entryIdentifier . '" is not a valid cache entry identifier.', 1233057752);
        }
        $code = $this->backend->get($entryIdentifier);

        if ($code === false) {
            return false;
        }

        preg_match('/^(?:.*\n){1}((?:.*\n)*)(?:.+\n?|\n)$/', $code, $matches);

        return $matches[1];
    }
public function get ( string $ entryIdentifier ) { if ( ! $ this -> isValidEntryIdentifier ( $ entryIdentifier ) ) { throw new \ InvalidArgumentException ( '"' . $ entryIdentifier . '" is not a valid cache entry identifier.' , 1233057752 ) ; } $ code = $ this -> backend -> get ( $ entryIdentifier ) ; if ( $ code === false ) { return false ; } preg_match ( '/^(?:.*\n){1}((?:.*\n)*)(?:.+\n?|\n)$/' , $ code , $ matches ) ; return $ matches [ 1 ] ; }
Finds and returns the original code from the cache.

@param string $entryIdentifier Identifier of the cache entry to fetch
@return string|bool The value
@throws \InvalidArgumentException
@api
Finds and returns the original code from the cache .