public function registerPolicies() { foreach ($this->policies as $key => $value) { IlluminateGate::policy($key, $value); } }