title: How to call helper function in laravel 5.5
body: <p>I am using laravel 5.5. I have created a helper.php in app\Http. I am calling this helper in my blade file by using </p>
  
  <pre><code>{!! Helper::functionName() !!}
  </code></pre>
  
  <p>this is working fine. but i want to hold this helper result in a variable like</p>
  
  <pre><code>{!! $Result=Helper::functionName() !!}
  </code></pre>
  
  <p>But currently this is printing this result. How to solve this. please help.
  So that i can make any if condition on this $Result. </p>
  
  <p>In my helpers.php</p>
  
  <pre><code>namespace App\Http\Helpers;
  
  class Helper
  {
      public static function functionName()
      {
         return "mydata";
      }
  }
  </code></pre>