CronjobConfiguration

Implements \CronjobConfigurationInterface

Class CronjobConfiguration

package

Default

Methods

CronjobConfiguration constructor.

__construct(\StringType $name, \StringType $title, \StringType $type, mixed $value) 

Arguments

$name

\StringType

Cronjob configuration name.

$title

\StringType

Cronjob configuration title.

$type

\StringType

Cronjob configuration type.

$value

mixed

Cronjob configuration value.

Named constructor of cronjob configuration.

create(string $name, string $title, string $type, mixed $value) : \CronjobConfiguration
static

Arguments

$name

string

Cronjob configuration name.

$title

string

Cronjob configuration title.

$type

string

Cronjob configuration type.

$value

mixed

Cronjob configuration value.

Response

\CronjobConfiguration

New instance.

Returns the cronjob configurations name.

getName() : string

Response

string

* Returns the cronjob configurations title.

getTitle() : string

Response

string

* Returns the cronjob configurations type.

getType() : string

Response

string

Returns the cronjob configuration field.

getValue() : mixed

Response

mixed

Returns the configuration values. Used by selects.

getValues() : array|null

Response

array|null

Returns the cronjob configuration data as array.

toArray() : array

Response

array

Named constructor of cronjob configuration.

withValues(string $name, string $title, string $type, mixed $value, array $values) : \CronjobConfiguration
static

Arguments

$name

string

Cronjob configuration name.

$title

string

Cronjob configuration title.

$type

string

Cronjob configuration type.

$value

mixed

Cronjob configuration value.

$values

array

Cronjob configuration values.

Response

\CronjobConfiguration

New instance.

Properties

name

name : string
var

Type(s)

string

title

title : string
var

Type(s)

string

type

type : string
var

Type(s)

string

value

value : mixed
var

Type(s)

mixed

values

values : array
var

Type(s)

array