class Manager extends Emitter (View source)

Methods

__construct(LoggerInterface $logger = null)

No description

getLogger()

No description

subscribe($event, $class, $priority = 0)

No description

subscribeOnce($event, $class, $priority = 0)

No description

load(array $events)

No description

static 
create(LoggerInterface $logger = null)

No description

convertToListener($class, $event)

No description

Details

__construct(LoggerInterface $logger = null)

Parameters

LoggerInterface $logger

getLogger()

subscribe($event, $class, $priority = 0)

Parameters

$event
$class
$priority

subscribeOnce($event, $class, $priority = 0)

Parameters

$event
$class
$priority

load(array $events)

Parameters

array $events

static create(LoggerInterface $logger = null)

Parameters

LoggerInterface $logger

protected convertToListener($class, $event)

Parameters

$class
$event