Widgets Consumer
Widgets Consumer Interface repository.
Widgets consumer ask widgets provider
for widgets for specific scope/place, throught provider public interface.
Or widgets provider can take consumer-object as parameter and inject widgets into it.
For this purposes widgets consumer define public methods to gets
current scope and all places for current scope.
See main widgets repository
for detail description and examples.
Install with Composer:
composer require php-strict/widgets-consumer