MediaWiki
REL1_39
Blob.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
9
class
Blob
implements
IBlob
{
11
protected
$data
;
12
17
public
function
__construct
(
$data
) {
18
$this->data =
$data
;
19
}
20
21
public
function
fetch
() {
22
return
$this->data
;
23
}
24
}
25
29
class_alias( Blob::class,
'Blob'
);
Wikimedia\Rdbms\Blob
Definition
Blob.php:9
Wikimedia\Rdbms\Blob\fetch
fetch()
Definition
Blob.php:21
Wikimedia\Rdbms\Blob\$data
string $data
Definition
Blob.php:11
Wikimedia\Rdbms\Blob\__construct
__construct( $data)
Definition
Blob.php:17
Wikimedia\Rdbms\IBlob
Wrapper allowing us to distinguish a blob from a normal string and an array of strings.
Definition
IBlob.php:9
Wikimedia\Rdbms
Definition
ChronologyProtector.php:20
includes
libs
rdbms
encasing
Blob.php
Generated on Fri Dec 20 2024 15:34:41 for MediaWiki by
1.10.0