\UnOcd\News\Policies\SetPolicy::class,// Bind Test2 policy 'UnOcd\News\Models\Test2' => \UnOcd\News\Policies\Test2Policy::class, ]; /** * Register any package authentication / authorization services. * * @param \Illuminate\Contracts\Auth\Access\Gate $gate * * @return void */ public function boot(GateContract $gate) { parent::registerPolicies($gate); } }