Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5991510
BaseMatcher.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
565 B
Referenced Files
None
Subscribers
None
BaseMatcher.php
View Options
<?php
namespace
Hamcrest
;
/*
Copyright (c) 2009 hamcrest.org
*/
/**
* BaseClass for all Matcher implementations.
*
* @see Hamcrest\Matcher
*/
abstract
class
BaseMatcher
implements
Matcher
{
public
function
describeMismatch
(
$item
,
Description
$description
)
{
$description
->
appendText
(
'was '
)->
appendValue
(
$item
);
}
public
function
__toString
()
{
return
StringDescription
::
toString
(
$this
);
}
public
function
__invoke
()
{
return
call_user_func_array
(
array
(
$this
,
'matches'
),
func_get_args
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 01:55 (4 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
69/18/705ef2c99230f133de55fafee8ed
Default Alt Text
BaseMatcher.php (565 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment