policy
pestphp/pest
The
policy
method retrieves a
policy
instance for a given class:
<?php $policy
=
policy
(
App\Models\User
::class);