public getInstanceByAppName ( string $appName, string $instance = '', boolean $spawn = true, boolean $preload = false ) : object | ||
$appName | string | Application name |
$instance | string | Instance name |
$spawn | boolean | If true, we spawn an instance if absent |
$preload | boolean | If true, worker is at the preload stage |
return | object | AppInstance |