updated plugin W3 Total Cache
version 2.3.3
This commit is contained in:
23
wp-content/plugins/w3-total-cache/vendor/guzzlehttp/psr7/tests/ReadSeekOnlyStream.php
vendored
Normal file
23
wp-content/plugins/w3-total-cache/vendor/guzzlehttp/psr7/tests/ReadSeekOnlyStream.php
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace GuzzleHttp\Tests\Psr7;
|
||||
|
||||
use GuzzleHttp\Psr7\Stream;
|
||||
|
||||
final class ReadSeekOnlyStream extends Stream
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(fopen('php://memory', 'wb'));
|
||||
}
|
||||
|
||||
public function isSeekable()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function isReadable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user