mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-11 01:07:39 +08:00
21 lines
348 B
PHP
21 lines
348 B
PHP
<?php
|
|
|
|
namespace GuzzleHttp\Event;
|
|
|
|
/**
|
|
* Trait that implements the methods of HasEmitterInterface
|
|
*/
|
|
trait HasEmitterTrait
|
|
{
|
|
/** @var EmitterInterface */
|
|
private $emitter;
|
|
|
|
public function getEmitter()
|
|
{
|
|
if (!$this->emitter) {
|
|
$this->emitter = new Emitter();
|
|
}
|
|
|
|
return $this->emitter;
|
|
}
|
|
}
|