dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge "docs: mw.widgets.CategorySelector: Fix example code"
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
encasing
/
Blob.php
1
<
?php
2
/**
3
* Utility class
4
* @ingroup Database
5
*
6
* This allows us to distinguish a blob from a normal string and an array of strings
7
*/
8
class
Blob
{
9
/** @var string */
10
protected
$mData
;
11
12
function
__construct
(
$data
) {
13
$this
->
mData
=
$data
;
14
}
15
16
function
fetch
() {
17
return
$this
->
mData
;
18
}
19
}