title: Laravel FormRequest get input value
body: <p>I try to use FormRequest:</p>
  
  <pre><code>class RegistrationForm extends FormRequest
  {
      public function authorize()
      {
          return true;
      }
  
      public function rules()
      {
          return [
              'name'=&gt;'required',
              'email'=&gt;'required|email',
              'password'=&gt;'required|confirmed'
          ];
      }
  
      public  function persist(){
          $user=new User();
          $user-&gt;name=$this-&gt;only(['name']);
          $user-&gt;email=$this-&gt;only(['email']);
          dd($this-&gt;only(['password']);
          auth()-&gt;login($user);
      }
  }
  </code></pre>
  
  <p>I need get in persist()  method inputs value from my requst. I tried to get 'password' value, but I got array. 
  How can I get input value like a string?</p>