mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 09:47:23 +01:00
Add Initial teamcity support
This commit is contained in:
22
src/Logging/TeamCity/Subscriber/Subscriber.php
Normal file
22
src/Logging/TeamCity/Subscriber/Subscriber.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\Logging\TeamCity\Subscriber;
|
||||
|
||||
use Pest\Logging\TeamCity\TeamCityLogger;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
abstract class Subscriber
|
||||
{
|
||||
public function __construct(private readonly TeamCityLogger $logger)
|
||||
{
|
||||
}
|
||||
|
||||
final protected function logger(): TeamCityLogger
|
||||
{
|
||||
return $this->logger;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user