class Package

Package

Properties

static protected array $packages
protected string $name
static protected FrontendHandler $handler

Methods

static void
init(array $packages = array())

init

static array
packages()

packages

__construct(string $name)

Package constructor.

static void
setHandler(FrontendHandler $handler)

set handler

register(Closure $callback)

register package

$this
load()

load package

Details

at line 55
static void init(array $packages = array())

init

Parameters

array $packages packages

Return Value

void

at line 65
static array packages()

packages

Return Value

array

at line 75
__construct(string $name)

Package constructor.

Parameters

string $name name

at line 87
static void setHandler(FrontendHandler $handler)

set handler

Parameters

FrontendHandler $handler frontend handler

Return Value

void

at line 99
Package register(Closure $callback)

register package

Parameters

Closure $callback callback

Return Value

Package $this

at line 110
$this load()

load package

Return Value

$this