title: How to display all permissions a role has in laravel 5 entrust?
body: <p>So, I want to show all permissions, which particular role has. I have written this peace of code:
      <pre>
      public function index()
      {
      $role = Role::first();
      $binding = $role->perms->toArray();
      dd($binding);
      //return view('binding.index', compact('binding'));
      }
      </pre>
  So basically dd gives:
      <pre>
      array:1 [▼
        0 => array:7 [▼
          "id" => 1
          "name" => "create-news"
          "display_name" => "Create News"
          "description" => "/news/{news}/create"
          "created_at" => "2015-02-21 12:29:28"
          "updated_at" => "2015-02-21 12:30:21"
          "pivot" => array:2 [▶]
        ]
      ]
      </pre>
  This is result for ::first() (one role). So, to sum things up, $binding is an array of roles, and each role is an array of permissions. How do I pass and extract data from such variable?
  Example result required:
  Role: User
  Permissions: view-news;
  Role: Admin
  Permission: create-news, edit-news.</p>
  
  <p>Or is it just 2 nested foreach loops?</p>
  
  <p>Also, I have noticed that for Role::all(); I get error Undefined property: Illuminate\Database\Eloquent\Collection::$perms. How so, I dont get this error for Role::first();?     </p>