L O A D I N G
Edit this page

Core Component

Introduction

Core fulfills the role of application kernel. It is composition of service container and register and is aware of its execution context.

Features

Core features:

  • Easy access to both service container and service register
  • Context-aware interface
  • Registering and booting mechanisms for application
  • Kraken Framework compatibility

Examples

This section contains examples and patterns that can be used with described component.

Getting Version

$version = $core->getVersion();

Getting Base Path

$path = $core->getBasePath();

Getting Data Path

$path = $core->getDataPath();

Important Classes & Interfaces

This section contains list of most important classes and interfaces shipped with this component. It does not include all classes and interface.

Core

class Core extends Container implements CoreInterface

Core is an implementation of application core.

CoreInterface

interface CoreInterface extends ContainerInterface

CoreAwareInterface

interface CoreAwareInterface extends CoreSetterAwareInterface, CoreGetterAwareInterface
Start from the Beginning