code: public function getManyGraceful(array $ids)
      {
          $result = [];
  
          foreach ($ids as $id) {
              if ($service = $this->getGraceful($id)) {
                  $result[] = $service;
              }
          }
  
          return $result;
      }
docs: @param string[] $ids
  
  @return array