Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7397937
SelfDescribingValue.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
482 B
Referenced Files
None
Subscribers
None
SelfDescribingValue.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment