public static function serverCache(CacheItemPoolInterface $pool, StreamFactory $streamFactory, array $config = [])
    {
        return new self($pool, $streamFactory, $config);
    }
public static function serverCache(CacheItemPoolInterface $pool, StreamFactory $streamFactory, array $config = [])
    {
        return new self($pool, $streamFactory, $config);
    }
public static function serverCache ( CacheItemPoolInterface $ pool , StreamFactory $ streamFactory , array $ config = [ ] ) { return new self ( $ pool , $ streamFactory , $ config ) ; }
This method will setup the cachePlugin in server cache mode. This is the default caching behavior it refuses to
cache responses with the `private`or `no-cache` directives.

@param CacheItemPoolInterface $pool
@param StreamFactory          $streamFactory
@param array                  $config        For all possible config options see the constructor docs

@return CachePlugin
This method will setup the cachePlugin in server cache mode . This is the default caching behavior it refuses to cache responses with the private or no - cache directives .