public function getCache()
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            '"' .__METHOD__ . '" is deprecated as the service container will get removed.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        if (\is_callable($this->cache)) {
            $this->cache = \call_user_func($this->cache);
        }

        return $this->cache;
    }
public function getCache()
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            '"' .__METHOD__ . '" is deprecated as the service container will get removed.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        if (\is_callable($this->cache)) {
            $this->cache = \call_user_func($this->cache);
        }

        return $this->cache;
    }
public function getCache ( ) { // @codingStandardsIgnoreStart @ trigger_error ( '"' . __METHOD__ . '" is deprecated as the service container will get removed.' , E_USER_DEPRECATED ) ; // @codingStandardsIgnoreEnd if ( \ is_callable ( $ this -> cache ) ) { $ this -> cache = \ call_user_func ( $ this -> cache ) ; } return $ this -> cache ; }
Retrieve the cache to use.

@return Cache

@deprecated The service container will get removed, use the symfony service container instead.
Retrieve the cache to use .