ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/
Upload File :
Current File : //home2/selectio/www/3-idiots/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/DiagnosingMatcher.php

<?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);
}

Zerion Mini Shell 1.0