Neos\Flow\ObjectManagement\ObjectManagerInterface::registerShutdownObject PHP Method

registerShutdownObject() public method

Registers the passed shutdown lifecycle method for the given object
public registerShutdownObject ( object $object, string $shutdownLifecycleMethodName ) : void
$object object The object to register the shutdown method for
$shutdownLifecycleMethodName string The method name of the shutdown method to be called
return void
    public function registerShutdownObject($object, $shutdownLifecycleMethodName);