<?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Logging\JUnit;
/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
abstract class Subscriber
{
private readonly JunitXmlLogger $logger;
public function __construct(JunitXmlLogger $logger)
{
$this->logger = $logger;
}
protected function logger(): JunitXmlLogger
{
return $this->logger;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Subscriber.php | File | 760 B | 0644 |
|
| TestErroredSubscriber.php | File | 860 B | 0644 |
|
| TestFailedSubscriber.php | File | 854 B | 0644 |
|
| TestFinishedSubscriber.php | File | 866 B | 0644 |
|
| TestMarkedIncompleteSubscriber.php | File | 914 B | 0644 |
|
| TestPreparationFailedSubscriber.php | File | 914 B | 0644 |
|
| TestPreparationStartedSubscriber.php | File | 926 B | 0644 |
|
| TestPreparedSubscriber.php | File | 860 B | 0644 |
|
| TestPrintedUnexpectedOutputSubscriber.php | File | 856 B | 0644 |
|
| TestRunnerExecutionFinishedSubscriber.php | File | 816 B | 0644 |
|
| TestSkippedSubscriber.php | File | 860 B | 0644 |
|
| TestSuiteFinishedSubscriber.php | File | 780 B | 0644 |
|
| TestSuiteStartedSubscriber.php | File | 780 B | 0644 |
|