function Global / policy

policy

policy ( ) : mixed

Get a policy instance for a given class.

Parameters

  • $class object|string