Files
pest/src/Logging/JUnit/Subscriber/Subscriber.php
Adrian Nürnberger e5dc6f0ae2 junit support
2023-12-19 06:29:28 +01:00

29 lines
456 B
PHP

<?php
declare(strict_types=1);
namespace Pest\Logging\JUnit\Subscriber;
use Pest\Logging\JUnit\JUnitLogger;
/**
* @internal
*/
abstract class Subscriber
{
/**
* Creates a new Subscriber instance.
*/
public function __construct(private readonly JUnitLogger $logger)
{
}
/**
* Creates a new JunitLogger instance.
*/
final protected function logger(): JUnitLogger
{
return $this->logger;
}
}