protected function init($namespace = '', $defaultLifetime = null)
    {
        $this->namespace = (string) $namespace;
        $this->defaultLifetime = $this->convertTtl($defaultLifetime);
        $this->miss = new \stdClass;
    }
protected function init($namespace = '', $defaultLifetime = null)
    {
        $this->namespace = (string) $namespace;
        $this->defaultLifetime = $this->convertTtl($defaultLifetime);
        $this->miss = new \stdClass;
    }
protected function init ( $ namespace = '' , $ defaultLifetime = null ) { $ this -> namespace = ( string ) $ namespace ; $ this -> defaultLifetime = $ this -> convertTtl ( $ defaultLifetime ) ; $ this -> miss = new \ stdClass ; }
Always call from constructor.

@param string $namespace
@param null|int|\DateInterval $defaultLifetime
@throws \Psr\SimpleCache\InvalidArgumentException|InvalidArgumentException
Always call from constructor .