Page MenuHomeWickedGov Phorge

BaseMatcher.php
No OneTemporary

Size
565 B
Referenced Files
None
Subscribers
None

BaseMatcher.php

<?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

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)

Event Timeline