code: public function createAll($promisesOrValues)
      {
          $promise = empty($promisesOrValues) ? $this->createFulfilled($promisesOrValues) : \GuzzleHttp\Promise\all($promisesOrValues);
  
          return $promise;
      }
docs: {@inheritdoc}
  
  @return Promise