PATH:
home
/
lab2454c
/
healthvalidate.com
/
vendor
/
hamcrest
/
hamcrest-php
/
hamcrest
/
Hamcrest
<?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()); } }
[-] FeatureMatcher.php
[edit]
[-] Description.php
[edit]
[+]
Collection
[+]
..
[+]
Type
[-] StringDescription.php
[edit]
[-] BaseDescription.php
[edit]
[+]
Internal
[+]
Number
[-] TypeSafeDiagnosingMatcher.php
[edit]
[-] BaseMatcher.php
[edit]
[-] NullDescription.php
[edit]
[-] DiagnosingMatcher.php
[edit]
[-] TypeSafeMatcher.php
[edit]
[+]
Core
[-] Matcher.php
[edit]
[-] SelfDescribing.php
[edit]
[-] Util.php
[edit]
[+]
Text
[+]
Xml
[-] MatcherAssert.php
[edit]
[-] Matchers.php
[edit]
[-] AssertionError.php
[edit]
[+]
Arrays