title: How do I access non id property of request inside form requests?
body: <p>I want to access route request parameters inside laravel form requests authorize. I cant find an example describing this.</p>
  
  <pre><code>// Works fine when you want id 
  dd($this-&gt;route('myResourceName'));
  
  // How to do when I want something else???  
  dd($this-&gt;route('anotherAttribute'));
  // Above give null probably because it is a resourceful controller
  </code></pre>
  
  <p>On a side note, I dont understand this design, whats the point?
  $this->route('anyAttribute') would be the easiest, right?</p>
  
  <p>Edit: more extensive example</p>
  
  <pre><code>class UpdateSlotAPIRequest extends APIRequest
  {
      public function __construct(){ 
          parent::__construct();         
          $this-&gt;slot = Slot::find($this-&gt;route('slot'));
          $this-&gt;access_token = $this-&gt;route('access_token'); // this is not working!
      }    
      /**
       * Determine if the user is authorized to make this request.
       *
       * @return bool
       */
      public function authorize()
      {
          // If administrator is logged in all is good.
          // If slot is free its ok.
          // If its not free but you provide good access_token its also fine.
          return Auth::check() || $this-&gt;slot-&gt;isAvailable() || $this-&gt;slot-&gt;isValidAccessToken($this-&gt;access_token);
      }
  ...
  </code></pre>
  
  <p>```</p>