Gate::resolvePolicy PHP Method

resolvePolicy() public static method

Build a policy class instance of the given type.
public static resolvePolicy ( object | string $class ) : mixed
$class object | string
return mixed
        public static function resolvePolicy($class)
        {
            return \Illuminate\Auth\Access\Gate::resolvePolicy($class);
        }