Overview

Namespaces

  • Core
    • Auth
    • Exceptions
    • Helpers
    • Providers
  • Kernel
    • Dispatch
    • Providers
  • None
  • Vendor
    • ExampleVendor

Classes

  • AppKernel
  • Overview
  • Namespace
  • Class
  • Download

Class AppKernel

Front logic. Dispatches and manages the input flow thread.
Contains many of all the $hooks present in the framework.

Namespace: Kernel
Package: Kernel
Hooks:
('After_Hooks_Setup', $hooks) // called right after the constructor
('exec_beforestart', ['controller' => $controllerName, 'action' => $action]) // just after Router::matchRoute
('permission_unallowed', [
    'permission' => $permission,
    'controller' => $controllerName,
    'action' => $action]) // when it's an unauthorized request
('general_exception', ['e' => $e]) // when/if \Exception is thrown
('exec_afterend', ['controller' => $controllerName, 'action' => $action]) // When execution has finished

Located at app/Kernel/AppKernel.php
Methods summary
public static
# init( )

Initializes the framework.

Initializes the framework.

Throws

Exception
When a requested Controller or Controller->action() are requested but do not exist.
Ribosome API documentation generated by ApiGen