MediaWiki
REL1_32
Blob.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
5
class
Blob
implements
IBlob
{
7
protected
$data
;
8
12
public
function
__construct
(
$data
) {
13
$this->data =
$data
;
14
}
15
16
public
function
fetch
() {
17
return
$this->data
;
18
}
19
}
20
24
class_alias( Blob::class,
'Blob'
);
Wikimedia\Rdbms\Blob
Definition
Blob.php:5
Wikimedia\Rdbms\Blob\fetch
fetch()
Definition
Blob.php:16
Wikimedia\Rdbms\Blob\$data
string $data
Definition
Blob.php:7
Wikimedia\Rdbms\Blob\__construct
__construct( $data)
Definition
Blob.php:12
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:24
includes
libs
rdbms
encasing
Blob.php
Generated on Mon Nov 25 2024 15:57:19 for MediaWiki by
1.10.0