Copied!

Action

Action.php : 13
Extends Action

Constants

publicQUALITY_HD

Action.php : 19
public mixed QUALITY_HD = 'hd'

publicQUALITY_STANDARD

Action.php : 20
public mixed QUALITY_STANDARD = 'standard'

publicSIZE_LANDSCAPE

Action.php : 17
public mixed SIZE_LANDSCAPE = '1792x1024'

publicSIZE_PORTRAIT

Action.php : 16
public mixed SIZE_PORTRAIT = '1024x1792'

publicSIZE_SQUARE

Action.php : 15
public mixed SIZE_SQUARE = '1024x1024'

protectedAVAILABLE_QUALITY

Action.php : 28
protected mixed AVAILABLE_QUALITY = [self::QUALITY_HD, self::QUALITY_STANDARD]

protectedAVAILABLE_SIZES

Action.php : 22
protected mixed AVAILABLE_SIZES = [self::SIZE_SQUARE, self::SIZE_PORTRAIT, self::SIZE_LANDSCAPE]

Properties

protected $actionContext

Action.php : 15
protected ActionContext|null $actionContext = null

protected $runtimeContext

Action.php : 17
protected RuntimeContext|null $runtimeContext = null

Methods

public__construct()

Action.php : 37
public __construct(string $size[, string $quality = self::QUALITY_STANDARD ])

Parameters

Name Type Default value Description
$size string - -
$quality string Action::QUALITY_STANDARD -

publicgetActionContext()

Action.php : 19
public getActionContext() : ActionContext|null

Return values

ActionContext|null

publicgetParameters()

Action.php : 65
public getParameters() : array<string, mixed>

Return values

array<string, mixed>

publicgetQuality()

Action.php : 55
public getQuality() : string

Return values

string

publicgetRuntimeContext()

Action.php : 24
public getRuntimeContext() : RuntimeContext|null

Return values

RuntimeContext|null

publicgetSize()

Action.php : 45
public getSize() : string

Return values

string

publichasActionContext()

Action.php : 39
public hasActionContext() : bool

Return values

bool

publichasRuntimeContext()

Action.php : 44
public hasRuntimeContext() : bool

Return values

bool

publicsetActionContext()

Action.php : 29
public setActionContext(ActionContext $actionContext) : void

Parameters

Name Type Default value Description
$actionContext ActionContext - -

publicsetQuality()

Action.php : 60
public setQuality(string $quality) : void

Parameters

Name Type Default value Description
$quality string - -

publicsetRuntimeContext()

Action.php : 34
public setRuntimeContext(RuntimeContext $runtimeContext) : void

Parameters

Name Type Default value Description
$runtimeContext RuntimeContext - -

publicsetSize()

Action.php : 50
public setSize(string $size) : void

Parameters

Name Type Default value Description
$size string - -