Debian Codegraph @

includes/libs/rdbms/encasing/Blob.php

raw symbols SCIP
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 }