MediaWiki REL1_30
Blob.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Rdbms;
4
5class Blob implements IBlob {
7 protected $mData;
8
12 public function __construct( $data ) {
13 $this->mData = $data;
14 }
15
16 public function fetch() {
17 return $this->mData;
18 }
19}
20
21class_alias( Blob::class, 'Blob' );
__construct( $data)
Definition Blob.php:12
Wrapper allowing us to distinguish a blob from a normal string and an array of strings.
Definition IBlob.php:9