[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Event/ -> HasEmitterTrait.php (source)

   1  <?php
   2  namespace GuzzleHttp\Event;
   3  
   4  /**
   5   * Trait that implements the methods of HasEmitterInterface
   6   */
   7  trait HasEmitterTrait
   8  {
   9      /** @var EmitterInterface */
  10      private $emitter;
  11  
  12      public function getEmitter()
  13      {
  14          if (!$this->emitter) {
  15              $this->emitter = new Emitter();
  16          }
  17  
  18          return $this->emitter;
  19      }
  20  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1