mini\Authorizer\Authorization::walkClassHierarchy() Method

private

Signature

private function walkClassHierarchy(string $class): Generator

Parameters

Name Type Default Description
$class string required Documentation missing

Returns

Generator

Documentation

Walk class hierarchy in specificity order

For objects: yields class, then direct interfaces, then parent class, then parent's direct interfaces, etc.

For class strings that don't exist: yields just the string itself.

Source

src/Authorizer/Authorization.php:187-208