HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/gggg.komma.nl/vendor/phpbench/phpbench/lib/Progress/LoggerInterface.php
<?php

/*
 * This file is part of the PHPBench package
 *
 * (c) Daniel Leech <daniel@dantleech.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 */

namespace PhpBench\Progress;

use PhpBench\Console\OutputAwareInterface;
use PhpBench\Model\Benchmark;
use PhpBench\Model\Iteration;
use PhpBench\Model\Subject;
use PhpBench\Model\Suite;
use PhpBench\Model\Variant;

interface LoggerInterface extends OutputAwareInterface
{
    /**
     * Log the end of a benchmark.
     *
     * @param Benchmark $benchmark
     */
    public function benchmarkEnd(Benchmark $benchmark);

    /**
     * Log the start of a benchmark.
     *
     * @param Benchmark $benchmark
     */
    public function benchmarkStart(Benchmark $benchmark);

    /**
     * Log the end of a benchmarking subject.
     *
     * @param Subject $subject
     */
    public function subjectEnd(Subject $subject);

    /**
     * Log the end of a benchmarking subject.
     *
     * @param Subject $subject
     */
    public function subjectStart(Subject $subject);

    /**
     * Log the end of an an iteration run.
     *
     * Errors should be checked using Variant->hasException()
     *
     * @param Variant $variant
     */
    public function variantEnd(Variant $variant);

    /**
     * Log the start of an iteration run.
     *
     * @param Variant $variant
     */
    public function variantStart(Variant $variant);

    /**
     * Log the end of an iteration.
     *
     * @param Iteration $iteration
     */
    public function iterationEnd(Iteration $iteration);

    /**
     * Log the start of an iteration.
     *
     * @param Iteration $iteration
     */
    public function iterationStart(Iteration $iteration);

    /**
     * Log the number of retries to be made.
     *
     * @param int $rejectionCount
     */
    public function retryStart($rejectionCount);

    /**
     * Called at the start of the suite run.
     *
     * @param Suite $suite
     */
    public function startSuite(Suite $suite);

    /**
     * Called at the end of the suite run.
     *
     * @param Suite $suite
     */
    public function endSuite(Suite $suite);
}