Select Git revision
HookableBundle.php
-
Bartek Jaskulski authored
Add more flexibility for `PluginInit` with interfaces. Separate hook attaching from initialization process to exchange hook registration methods in future. Start caching data from plugin and container in over-simplistic way. Provide an extension point for DI container with bundles. Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>
Bartek Jaskulski authoredAdd more flexibility for `PluginInit` with interfaces. Separate hook attaching from initialization process to exchange hook registration methods in future. Start caching data from plugin and container in over-simplistic way. Provide an extension point for DI container with bundles. Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>
HookableBundle.php 177 B
<?php
declare( strict_types=1 );
namespace WPDesk\Init\HookDriver;
interface HookableBundle extends \WPDesk\Init\Bundle\Bundle {
public static function hookable(): array;
}