public function registerShutdownObject($object, $shutdownLifecycleMethodName)
    {
        if (strpos(get_class($object), 'Neos\Flow\\') === 0) {
            $this->internalShutdownObjects[$object] = $shutdownLifecycleMethodName;
        } else {
            $this->shutdownObjects[$object] = $shutdownLifecycleMethodName;
        }
    }
public function registerShutdownObject($object, $shutdownLifecycleMethodName)
    {
        if (strpos(get_class($object), 'Neos\Flow\\') === 0) {
            $this->internalShutdownObjects[$object] = $shutdownLifecycleMethodName;
        } else {
            $this->shutdownObjects[$object] = $shutdownLifecycleMethodName;
        }
    }
public function registerShutdownObject ( $ object , $ shutdownLifecycleMethodName ) { if ( strpos ( get_class ( $ object ) , 'Neos\Flow\\' ) === 0 ) { $ this -> internalShutdownObjects [ $ object ] = $ shutdownLifecycleMethodName ; } else { $ this -> shutdownObjects [ $ object ] = $ shutdownLifecycleMethodName ; } }
Registers the passed shutdown lifecycle method for the given object

@param object $object The object to register the shutdown method for
@param string $shutdownLifecycleMethodName The method name of the shutdown method to be called
@return void
@api
Registers the passed shutdown lifecycle method for the given object