title: How can i get uri segment in routes?
body: <p>I am new to laravel and my laravel version is 5.5</p>
  
  <p>In my routes file. I call <code>Segment</code> method in <code>Request</code> class</p>
  
  <p>Like below :</p>
  
  <pre><code>var_dump(Request::segment(1));
  </code></pre>
  
  <p>And then it returns this message </p>
  
  <pre><code>Non-static method Illuminate\Http\Request::segment() should not be called statically
  </code></pre>
  
  <p>So... do I need to make new <code>Request</code> instance?</p>
  
  <p>Or is there any more effective way to achieve what I want?</p>
  
  <p>Any suggestion or advice would be appreciated.</p>
  
  <p>Thank you in advance</p>