Spork Code Libraries

Properties

$db

$db : \Zend\Db\Adapter\Adapter

Type

\Zend\Db\Adapter\Adapter — | string

Methods

attach()

attach(\Zend\EventManager\EventManagerInterface  $events) 

Parameters

\Zend\EventManager\EventManagerInterface $events
Inherited from
\SporkTools\Core\Job\Plugin\AbstractPlugin

__construct()

__construct(array  $options = array()) 

Parameters

array $options

getDb()

getDb() 

getMethods()

getMethods() 

initialize()

initialize(\SporkTools\Core\Job\Event  $event) 

Injects message plugin and database adapter when job is run

Parameters

\SporkTools\Core\Job\Event $event

setDb()

setDb(  $db) 

Parameters

$db