Classes/Traits/CacheTrait.php
protected function cacheRemoteUri(string $entryIdentifier, int $lifetime = 3600, array $tags = [])
    {
        $result = $this->cacheViaTrait($entryIdentifier, function () {
        }, 'remote_file', $lifetime, $tags);
        if (null === $result) {
            // call two times, because the anonym function is not the real result.
            // The result is output by the get method of the remote_file backend.
            $result = $this->cacheViaTrait($entryIdentifier, function () {
            }, 'remote_file', $lifetime, $tags);
        }

        return $result;
    }
protected function cacheRemoteUri(string $entryIdentifier, int $lifetime = 3600, array $tags = [])
    {
        $result = $this->cacheViaTrait($entryIdentifier, function () {
        }, 'remote_file', $lifetime, $tags);
        if (null === $result) {
            // call two times, because the anonym function is not the real result.
            // The result is output by the get method of the remote_file backend.
            $result = $this->cacheViaTrait($entryIdentifier, function () {
            }, 'remote_file', $lifetime, $tags);
        }

        return $result;
    }
protected function cacheRemoteUri ( string $ entryIdentifier , int $ lifetime = 3600 , array $ tags = [ ] ) { $ result = $ this -> cacheViaTrait ( $ entryIdentifier , function ( ) { } , 'remote_file' , $ lifetime , $ tags ) ; if ( null === $ result ) { // call two times, because the anonym function is not the real result. // The result is output by the get method of the remote_file backend. $ result = $ this -> cacheViaTrait ( $ entryIdentifier , function ( ) { } , 'remote_file' , $ lifetime , $ tags ) ; } return $ result ; }
Cache remote file time.

@param string $entryIdentifier
@param int    $lifetime        Default 60 Minutes (3.600 seconds)
@param array  $tags

@return mixed
Cache remote file time .