Menu

## CronExpression_FieldFactory
in package

CronExpression_FieldFactory.php : 9

CRON field factory implementing a flyweight factory

##### Tags

author

  Michael Dowling mtdowling@gmail.com

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

### Table of Contents

$fields : array<string|int, mixed>
getField() : CronExpression_FieldInterface
  Get an instance of a field object for a cron expression position

### Properties

#### $fields

CronExpression_FieldFactory.php : 14
`private array<string|int, mixed> $fields = array()`

### Methods

#### getField()

CronExpression_FieldFactory.php : 24

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

`public getField(int $position) : CronExpression_FieldInterface`

##### Parameters

$position : int

  CRON expression position value to retrieve

##### Tags

throws
  InvalidArgumentException

  if a position is not valid

##### Return values

CronExpression_FieldInterface —

## Search results