OptionService
Table of Contents
Methods
-
__construct()
: mixed
-
delete()
: void
-
deleteAll()
: void
-
getInstance()
: OptionService
-
getOption()
: Option|null
-
getOptions()
: array<string|int, Option>
-
invalidateCache()
: void
-
save()
: void
__construct()
public
__construct(OptionRepository $optionRepository) : mixed
Parameters
-
$optionRepository
: OptionRepository
-
delete()
public
delete(int $flowId, string $name) : void
Parameters
-
$flowId
: int
-
-
$name
: string
-
deleteAll()
public
deleteAll(int $flowId) : void
Parameters
-
$flowId
: int
-
getInstance()
public
static getInstance() : OptionService
getOption()
public
getOption(int $flowId, string $name) : Option|null
Parameters
-
$flowId
: int
-
-
$name
: string
-
getOptions()
public
getOptions(int $flowId) : array<string|int, Option>
Parameters
-
$flowId
: int
-
Return values
array<string|int, Option>
invalidateCache()
public
invalidateCache(int $flowId) : void
Parameters
-
$flowId
: int
-
save()
public
save(int $flowId, string $name, string $value) : void
Parameters
-
$flowId
: int
-
-
$name
: string
-
-
$value
: string
-