CronjobTaskCollection

Implements \IteratorAggregate

Class CronjobTaskCollection

package

Default

Methods

CronjobCollection constructor.

__construct(array<mixed,\AbstractCronjobTask> $cronjobs) 

Arguments

$cronjobs

array<mixed,\AbstractCronjobTask>

Named constructor of cronjob factory.

collect(\AbstractCronjobTask $cronjobs) : \CronjobTaskCollection
static

Arguments

$cronjobs

\AbstractCronjobTask

Cronjobs.

Response

\CronjobTaskCollection

Returns an array iterator of the collected cronjobs, so instances are iterable.

getIterator() : \ArrayIterator|\Traversable

Response

\ArrayIterator|\Traversable

Properties

cronjobs

cronjobs : array<mixed,\AbstractCronjobTask>
var

Type(s)

array<mixed,\AbstractCronjobTask>