App::isSlave
Usage
bool App::isSlaveDescription
Return Value
Only applicable if using horizontal scaling, and is whether or not this system is a slave within the cluster.Examples
Check if Slave
if ($app->isSlave()) {
echo "Yes, is slave system.\n";
}