Will this work if an ArrayObject is passed?