Merge "Special:Upload should not crash on failing previews"
[mediawiki.git] / includes / libs / rdbms / encasing / Blob.php
blobbd903305778932bc7164d8bddfce31090ee4139a
1 <?php
2 /**
3 * Utility class
4 * @ingroup Database
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;
12 function __construct( $data ) {
13 $this->mData = $data;
16 function fetch() {
17 return $this->mData;