nginxsonarrradarrplexorganizrdashboardbookmarkapplication-dashboardmuximuxlandingpagestartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbget
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
603 B
25 lines
603 B
<?php
|
|
namespace Hamcrest;
|
|
|
|
/*
|
|
Copyright (c) 2009 hamcrest.org
|
|
*/
|
|
|
|
/**
|
|
* Official documentation for this class is missing.
|
|
*/
|
|
abstract class DiagnosingMatcher extends BaseMatcher
|
|
{
|
|
|
|
final public function matches($item)
|
|
{
|
|
return $this->matchesWithDiagnosticDescription($item, new NullDescription());
|
|
}
|
|
|
|
public function describeMismatch($item, Description $mismatchDescription)
|
|
{
|
|
$this->matchesWithDiagnosticDescription($item, $mismatchDescription);
|
|
}
|
|
|
|
abstract protected function matchesWithDiagnosticDescription($item, Description $mismatchDescription);
|
|
}
|
|
|