Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
UUIDBlob | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__toString | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace Flow\Model; |
4 | |
5 | use Wikimedia\Rdbms\Blob; |
6 | |
7 | /** |
8 | * Extend Blob so we can identify UUID specific blobs |
9 | */ |
10 | class UUIDBlob extends Blob { |
11 | /** |
12 | * We'll want to be able to compare the (string) value of 2 blobs. |
13 | * |
14 | * @return string |
15 | */ |
16 | public function __toString() { |
17 | return $this->fetch(); |
18 | } |
19 | } |