Пример #1
0
 /**
  * @param $key
  * @param $value
  */
 private function storeChildTask($key, $value)
 {
     $this->semaphore->lock();
     $this->storageSystem->store($key, $value);
     $this->semaphore->unLock();
 }
Пример #2
0
 /**
  * @return array
  */
 public function fetch()
 {
     return $this->storageSystem->getStoredTasks();
 }