Spork Code Libraries

LoaderFile

Extends
\Zend\EventManager\AbstractListenerAggregate
Implements
\SporkTools\Core\Job\Feature\FeatureInterface

Properties

$paths

$paths : array

List of paths to folders containing jobs

Type

array

Methods

__construct()

__construct(  $options) 

Parameters

$options

attach()

attach(\Zend\EventManager\EventManagerInterface  $events) 

Parameters

\Zend\EventManager\EventManagerInterface $events

addPath()

addPath(  $path,   $namespace = null) 

Parameters

$path
$namespace

addPaths()

addPaths(array  $paths) 

Parameters

array $paths

getPaths()

getPaths() 

fetchJobs()

fetchJobs(\Zend\EventManager\EventInterface  $event) 

Parameters

\Zend\EventManager\EventInterface $event

fetchTasks()

fetchTasks(\Zend\EventManager\EventInterface  $event) 

Parameters

\Zend\EventManager\EventInterface $event

onHasFeature()

onHasFeature(\Zend\EventManager\EventInterface  $event) 

Parameters

\Zend\EventManager\EventInterface $event