code: public function getAllNames()
      {
          $result = [];
  
          foreach ($this->all() as $item) {
              if ($item instanceof ReportTypeInterface && ($name = $item->getName()) !== null) {
                  $result[] = $name;
              }
          }
  
          return $result;
      }
docs: {@inheritdoc}