original_string: protected function validator() : Validator
      {
          if (isset($this->validator)) {
              return $this->validator;
          }
  
          return $this->validator = $this->laravel['validator']->make(
              $this->getDataToValidate(),
              $this->rules(),
              $this->messages(),
              $this->attributes()
          );
      }
code: protected function validator() : Validator
      {
          if (isset($this->validator)) {
              return $this->validator;
          }
  
          return $this->validator = $this->laravel['validator']->make(
              $this->getDataToValidate(),
              $this->rules(),
              $this->messages(),
              $this->attributes()
          );
      }
code_tokens: protected function validator ( ) : Validator { if ( isset ( $ this -> validator ) ) { return $ this -> validator ; } return $ this -> validator = $ this -> laravel [ 'validator' ] -> make ( $ this -> getDataToValidate ( ) , $ this -> rules ( ) , $ this -> messages ( ) , $ this -> attributes ( ) ) ; }
docstring: Retrieve the command input validator
  
  @return \Illuminate\Contracts\Validation\Validator
docstring_tokens: Retrieve the command input validator