title: How to send array data as a parameter for get value in Laravel controller?
body: <p>This is My code which is used in function -</p>
  <pre class="lang-php prettyprint-override"><code>foreach($allcourses as $allcourse) {
    $tl_class[] = $allcourse['title_of_class'];
    // $trn_email[] = $allcourse['trainer_email'];
  }
  $rating = new RatingController;
  Log::info(print_r($tl_class, true). ' : RatingController tl_class data');
  </code></pre>
  <p>I want to send array data a parameter as below-</p>
  <pre class="lang-php prettyprint-override"><code>$rating = new RatingController;
  $rating_data = $rating-&gt;getAllPublicRatting($tl_class);
  </code></pre>
  <p>but Showing error. So, How to pass this array value as a parameter?</p>