Classes/Cache/StaticDatabaseBackend.php
protected function getRealLifetime($lifetime): int
    {
        if (null === $lifetime) {
            $lifetime = $this->defaultLifetime;
        }
        if (0 === $lifetime || $lifetime > $this->maximumLifetime) {
            $lifetime = $this->maximumLifetime;
        }

        return (int)$lifetime;
    }
protected function getRealLifetime($lifetime): int
    {
        if (null === $lifetime) {
            $lifetime = $this->defaultLifetime;
        }
        if (0 === $lifetime || $lifetime > $this->maximumLifetime) {
            $lifetime = $this->maximumLifetime;
        }

        return (int)$lifetime;
    }
protected function getRealLifetime ( $ lifetime ) : int { if ( null === $ lifetime ) { $ lifetime = $ this -> defaultLifetime ; } if ( 0 === $ lifetime || $ lifetime > $ this -> maximumLifetime ) { $ lifetime = $ this -> maximumLifetime ; } return ( int ) $ lifetime ; }
Get the real life time.

@param int $lifetime

@return int
Get the real life time .