Nav apraksta
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Permission extends Model { protected $table = "permission"; public $timestamps = false; public function getPermission() { $this->belongToMany("App\Permission"); } }