درس قبلی
Automatic Policy Discovery

Automatic Policy Discovery

Automatic Policy Discovery

قسمت 1
درس بعدی

درباره این درس

First up on the agenda is automatic policy discovery. In past versions of Laravel, each time a policy class is generated, you'd need to visit your AuthServiceProvider to manually wire it up with the appropriate model. It's not the end of the world, but still nonetheless a bit tedious. Now in Laravel 5.8, as long as you follow the standard naming convention, this policy discovery happens automatically.
دیدگاه های کاربران

× در حال پاسخ به: