original_string: public function get($id): Domain
      {
          if (!$model = Domain::findOne($id)) {
              throw new NotFoundException($this->i18n->t('setrun/sys/domain', 'Domain is not found'));
          }
          return $model;
      }
code: public function get($id): Domain
      {
          if (!$model = Domain::findOne($id)) {
              throw new NotFoundException($this->i18n->t('setrun/sys/domain', 'Domain is not found'));
          }
          return $model;
      }
code_tokens: public function get ( $ id ) : Domain { if ( ! $ model = Domain :: findOne ( $ id ) ) { throw new NotFoundException ( $ this -> i18n -> t ( 'setrun/sys/domain' , 'Domain is not found' ) ) ; } return $ model ; }
docstring: Find a domain item.
  @param $id
  @return Domain
docstring_tokens: Find a domain item .