App::getInstanceName

Usage

string App::getInstanceName()

Description


Return Value

Only applicable if using horizontal scaling, and returns the instance name of this system within the cluster.

Examples

Get Instance Name


$name = $app->getInstanceName();

See Also