original_string: protected function selector(&$choices = null)
      {
          $choices = $choices ? $choices : $this->choices;
          $choices = $this->userEditor->getChoicesAsEmailUsername($choices);
          $question = new ChoiceQuestion(static::PLEASE_SELECT_A_USER, $choices);
          $selectedUser = $this->ask($question);
          $user = $this->getChoiceBySelection($selectedUser);
          if ($user) {
              $this->editor($user);
          }
      }
code: protected function selector(&$choices = null)
      {
          $choices = $choices ? $choices : $this->choices;
          $choices = $this->userEditor->getChoicesAsEmailUsername($choices);
          $question = new ChoiceQuestion(static::PLEASE_SELECT_A_USER, $choices);
          $selectedUser = $this->ask($question);
          $user = $this->getChoiceBySelection($selectedUser);
          if ($user) {
              $this->editor($user);
          }
      }
code_tokens: protected function selector ( & $ choices = null ) { $ choices = $ choices ? $ choices : $ this -> choices ; $ choices = $ this -> userEditor -> getChoicesAsEmailUsername ( $ choices ) ; $ question = new ChoiceQuestion ( static :: PLEASE_SELECT_A_USER , $ choices ) ; $ selectedUser = $ this -> ask ( $ question ) ; $ user = $ this -> getChoiceBySelection ( $ selectedUser ) ; if ( $ user ) { $ this -> editor ( $ user ) ; } }
docstring: Multiple choices user select
  
  @param User[] $choices
docstring_tokens: Multiple choices user select