protected function callShutdownMethods(\SplObjectStorage $shutdownObjects)
    {
        foreach ($shutdownObjects as $object) {
            $methodName = $shutdownObjects[$object];
            $object->$methodName();
        }
    }
protected function callShutdownMethods(\SplObjectStorage $shutdownObjects)
    {
        foreach ($shutdownObjects as $object) {
            $methodName = $shutdownObjects[$object];
            $object->$methodName();
        }
    }
protected function callShutdownMethods ( \ SplObjectStorage $ shutdownObjects ) { foreach ( $ shutdownObjects as $ object ) { $ methodName = $ shutdownObjects [ $ object ] ; $ object -> $ methodName ( ) ; } }
Executes the methods of the provided objects.

@param \SplObjectStorage $shutdownObjects
@return void
Executes the methods of the provided objects .