Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4126471
NoSeekStream.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
524 B
Referenced Files
None
Subscribers
None
NoSeekStream.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
GuzzleHttp\Psr7
;
use
Psr\Http\Message\StreamInterface
;
/**
* Stream decorator that prevents a stream from being seeked.
*/
final
class
NoSeekStream
implements
StreamInterface
{
use
StreamDecoratorTrait
;
/** @var StreamInterface */
private
$stream
;
public
function
seek
(
$offset
,
$whence
=
SEEK_SET
):
void
{
throw
new
\RuntimeException
(
'Cannot seek a NoSeekStream'
);
}
public
function
isSeekable
():
bool
{
return
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 08:06 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7e/fe/b29e3d0bebaf864ac508a189d891
Default Alt Text
NoSeekStream.php (524 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment