repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gallery: Fix phan annotation for ImageGalleryBase::getImages
[mediawiki.git]
/
includes
/
libs
/
rdbms
/
encasing
/
Blob.php
blob
a156901e69ec3e7e9029e567be2ac9c815b69669
1
<
?php
2
3
namespace
Wikimedia\Rdbms
;
4
5
/**
6
* @newable
7
* @stable to extend
8
*/
9
class
Blob
implements
IBlob
{
10
/** @var string */
11
protected
$data
;
12
13
/**
14
* @stable to call
15
* @param string $data
16
*/
17
public function
__construct
(
$data
) {
18
$this
->
data
=
$data
;
19
}
20
21
public function
fetch
() {
22
return
$this
->
data
;
23
}
24
}