code: public function getByUid($report_type_uid)
      {
          foreach ($this->all() as $item) {
              if ($item instanceof ReportTypeInterface && $item->getUid() === $report_type_uid) {
                  return $item;
              }
          }
      }
docs: {@inheritdoc}