<?phpnamespaceHamcrest\Internal;
/*
Copyright (c) 2009 hamcrest.org
*/useHamcrest\Description;
useHamcrest\SelfDescribing;
/**
* A wrapper around any value so that it describes itself.
*/classSelfDescribingValueimplementsSelfDescribing{
private$_value;
publicfunction__construct($value)
{
$this->_value = $value;
}
publicfunctiondescribeTo(Description $description)
{
$description->appendValue($this->_value);
}
}