HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
FieldFactory Class Reference

Public Member Functions

 getField ($position)

Private Attributes

 $fields = array()

Detailed Description

CRON field factory implementating a flyweight factory.

Author
Michael Dowling mtdow.nosp@m.ling.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

http://en.wikipedia.org/wiki/Cron

Definition at line 10 of file FieldFactory.php.

Member Function Documentation

FieldFactory::getField (   $position)

Get an instance of a field object for a cron expression position.

Parameters
int$positionCRON expression position value to retrieve
Returns
FieldInterface
Exceptions
InvalidArgumentExceptionif a position is not valide

Definition at line 26 of file FieldFactory.php.

Member Data Documentation

FieldFactory::$fields = array()
private

Definition at line 15 of file FieldFactory.php.


The documentation for this class was generated from the following file: