AddResourceTypeCommand extends AbstractCommand
Table of Contents
Properties
- $createdBy : int
- $rangeCollection : RangeCollection|null
- $resourceType : ResourceType
Methods
- __construct() : mixed
- run() : Result
- runInBackground() : bool
- runWithDelay() : bool
- toArray() : array<string|int, mixed>
Properties
$createdBy read-only
public
int
$createdBy
$rangeCollection read-only
public
RangeCollection|null
$rangeCollection
$resourceType read-only
public
ResourceType
$resourceType
Methods
__construct()
public
__construct(int $createdBy, ResourceType $resourceType, RangeCollection|null $rangeCollection) : mixed
Parameters
- $createdBy : int
- $resourceType : ResourceType
- $rangeCollection : RangeCollection|null
run()
public
run() : Result
Return values
ResultrunInBackground()
public
runInBackground() : bool
Return values
boolrunWithDelay()
public
runWithDelay(int $milliseconds) : bool
Parameters
- $milliseconds : int
Return values
booltoArray()
public
toArray() : array<string|int, mixed>