Is your feature request related to a problem? Please describe.
Make it easier to add bootstrap class to the kernel.
Describe the solution you'd like
The bootstrap class has function with needed data, like in this example:
use Viserio\Component\Contract\Foundation\Kernel as KernelContract;
interface BootstrapState
{
public const TYPE_BEFORE = 'before';
public const TYPE_AFTER = 'after';
public static function getType(): string;
public static function getBootstrapper(): string;
}
interface Bootstrap
{
public static function getPriority(): int;
public static function bootstrap(KernelContract $kernel): void;
}
Is your feature request related to a problem? Please describe. Make it easier to add bootstrap class to the kernel.
Describe the solution you'd like The bootstrap class has function with needed data, like in this example:
Describe alternatives you've considered
Teachability, Documentation, Adoption, Migration Strategy