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
Move Blob class to Rdbms namespaces
[mediawiki.git]
/
includes
/
libs
/
rdbms
/
encasing
/
Blob.php
blob
d3946923232487ce3984e18602731ce7b96d5157
1
<
?php
2
3
namespace
Wikimedia\Rdbms
;
4
5
class
Blob
implements
IBlob
{
6
/** @var string */
7
protected
$mData
;
8
9
/**
10
* @param $data string
11
*/
12
public function
__construct
(
$data
) {
13
$this
->
mData
=
$data
;
14
}
15
16
public function
fetch
() {
17
return
$this
->
mData
;
18
}
19
}
20
21
class_alias
(
'Wikimedia\Rdbms\Blob'
,
'Blob'
);