Problem: I am trying to extend PHP\'s ArrayObject as shown below. Unfortunately I can\'t get it to work properly when setting multi-dimensional obj
ArrayObject
Implement the offsetGet method. If you are accessing a non exist property, you can create one as you like.
offsetGet
As you are extend ArrayObject, you should use the array way [] to set or get.