title: How to use session in custom class laravel 5?
body: <p>here is my code:</p>
  
  <pre><code>&lt;?php 
  use Illuminate\Support\Facades\Session;
  namespace App\CustomLibrary
  
  {
      class myFunctions {
          public function is_login() {
              if(Session::get('id') != null){
  
                  return TRUE;
              }
          }
      }
  }
  ?&gt;
  </code></pre>
  
  <p>I'm new in laravel 5, i just added a new custom function. And inside that function i wanna check a session ('id)? But i've got an error like this </p>
  
  <blockquote>
    <p>FatalErrorException in myFunctions.php line 8:
    Class 'App\CustomLibrary\Session' not found</p>
  </blockquote>
  
  <p>I need to know how to use session properly.</p>