scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 86  →  ?path2? @ 87
/vendor/guzzlehttp/guzzle/src/Event/HasEmitterTrait.php
@@ -0,0 +1,21 @@
<?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;
}
}