title: Constant expression contains invalid operations error in accessing env value Laravel
body: <p>I have a problem in my project. I want to access my env value data in a private static variable but found error <code>Constant expression contains invalid operations</code>. Could not know how to solve this.
  Here is my code</p>
  
  <pre><code>private static $session_link = [
      'local' =&gt; env('LOCAL_URL'),
      'production' =&gt; env('PRODUCTION_URL')
  ];
  </code></pre>
  
  <p>Thanks In Advance</p>