Skip to content

Bootstrap

linchpin edited this page Feb 22, 2023 · 10 revisions

Bootstrap

Bootstrap Class

  • Full name: \CourierNotices\Core\Bootstrap

Properties

config

Config

private array|\CourierNotices\Model\Config $config

controllers

Controllers

private array $controllers

Methods

__construct

Bootstrap constructor

public __construct(): mixed

run

Run the bootstrap

public run(): mixed

load_controllers

Loop over all php files in the Controllers directory and add them to the $controllers array

private load_controllers(): mixed

register_actions

Initialize and Register any of our actions.

private register_actions(): mixed


Automatically generated from source code comments on 2023-02-22 using phpDocumentor and saggre/phpdocumentor-markdown