ExternalBatch
class ExternalBatch
Class ExternalBatch
Constants
POLL_INTERVAL |
The time to wait when polling for process status (microseconds). |
Properties
protected array | $apiCalls | ||
protected | $defaultParams | ||
protected | $root | ||
protected | $settingsPath | ||
protected | $env | ||
protected array | $processes | ||
protected array | $apiResults |
Methods
__construct(array $defaultParams = [])
No description
addCall(string $entity, string $action, array $params = [])
No description
addEnv(array $env)
No description
start()
Run all the API calls concurrently.
int
getRunningCount()
No description
wait()
No description
array
getResults()
No description
array
getResult(int $idx = 0)
No description
bool
isSupported()
Determine if the local environment supports running API calls externally.
Process
createProcess(array $apiCall)
No description
string
getRoot()
No description
setRoot(string $root)
No description
string
getSettingsPath()
No description
setSettingsPath(string $settingsPath)
No description
Details
at line 49
__construct(array $defaultParams = [])
at line 68
ExternalBatch
addCall(string $entity, string $action, array $params = [])
at line 84
ExternalBatch
addEnv(array $env)
at line 95
ExternalBatch
start()
Run all the API calls concurrently.
at line 108
int
getRunningCount()
at line 118
wait()
at line 150
array
getResults()
at line 158
array
getResult(int $idx = 0)
at line 168
bool
isSupported()
Determine if the local environment supports running API calls externally.