function Global / policy
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

policy

policy ( ) : mixed

Get a policy instance for a given class.

Parameters

  • $class object|string