www.gusucode.com > KPPW众包威客PHP开源建站系统 v3.0源码程序 > KPPW/vendor/phpspec/phpspec/features/bootstrap/Fake/ReRunner.php

    <?php

namespace Fake;

use PhpSpec\Process\ReRunner as BaseReRunner;

class ReRunner implements BaseReRunner
{
    private $hasBeenReRun = false;

    /**
     * @return boolean
     */
    public function isSupported()
    {
        return true;
    }

    public function reRunSuite()
    {
        $this->hasBeenReRun = true;
    }

    public function hasBeenReRun()
    {
        return $this->hasBeenReRun;
    }
}