Esempio n. 1
0
 /**
  * Initialize client's storage
  *
  * @param StorageService $storageService
  * @param QueueService   $queueService
  * @param GeoService     $geoService
  * @param CacheService|null   $cacheService
  */
 public function __construct(StorageService $storageService, QueueService $queueService, GeoService $geoService, CacheService $cacheService = null)
 {
     $this->clients = new \SplObjectStorage();
     $this->storageService = $storageService;
     $this->queueService = $queueService;
     $this->geoService = $geoService;
     $this->cacheService = $cacheService;
     echo Messenger::start();
 }
 /**
  * Start message test
  */
 public function testStart()
 {
     $this->assertInternalType('string', Messenger::start());
 }