public function registerShutdownObject($object, $shutdownLifecycleMethodName)
{
if (strpos(get_class($object), 'Neos\\Flow\\') === 0) {
$this->internalShutdownObjects[$object] = $shutdownLifecycleMethodName;
} else {
$this->shutdownObjects[$object] = $shutdownLifecycleMethodName;
}
}