Page MenuHomeWickedGov Phorge

SelfDescribingValue.php
No OneTemporary

Size
482 B
Referenced Files
None
Subscribers
None

SelfDescribingValue.php

<?php
namespace Hamcrest\Internal;
/*
Copyright (c) 2009 hamcrest.org
*/
use Hamcrest\Description;
use Hamcrest\SelfDescribing;
/**
* A wrapper around any value so that it describes itself.
*/
class SelfDescribingValue implements SelfDescribing
{
private $_value;
public function __construct($value)
{
$this->_value = $value;
}
public function describeTo(Description $description)
{
$description->appendValue($this->_value);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 21, 14:56 (1 d, 20 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9c/9e/949e3e7e53f98eb9d8dede683941
Default Alt Text
SelfDescribingValue.php (482 B)

Event Timeline