// ... and change state
$nodeInstance->getStateInstance()->nodeHasSelfConnected();
} else {
// Something really horrible happened
// @TODO Throw an exception here instead of dying
// ... and change state
$nodeInstance->getStateInstance()->nodeHasSelfConnected();
} else {
// Something really horrible happened
// @TODO Throw an exception here instead of dying