original_string: public function getUsername()
      {
          if (!$this->hasEnabledUsername()) {
              return null;
          }
          $usernameClass = $this->usernameClass;
          $noInit = $usernameClass::buildNoInitModel();
          /* @var $noInit Username */
          return $this->hasOne($usernameClass, [$noInit->createdByAttribute => $this->guidAttribute]);
      }
code: public function getUsername()
      {
          if (!$this->hasEnabledUsername()) {
              return null;
          }
          $usernameClass = $this->usernameClass;
          $noInit = $usernameClass::buildNoInitModel();
          /* @var $noInit Username */
          return $this->hasOne($usernameClass, [$noInit->createdByAttribute => $this->guidAttribute]);
      }
code_tokens: public function getUsername ( ) { if ( ! $ this -> hasEnabledUsername ( ) ) { return null ; } $ usernameClass = $ this -> usernameClass ; $ noInit = $ usernameClass :: buildNoInitModel ( ) ; /* @var $noInit Username */ return $ this -> hasOne ( $ usernameClass , [ $ noInit -> createdByAttribute => $ this -> guidAttribute ] ) ; }
docstring: Get username.
  This method may return null, please consider processing the abnormal conditions.
  @return BaseBlameableQuery
docstring_tokens: Get username . This method may return null please consider processing the abnormal conditions .