If you just need an object with a method you can call why not use a builtin like ArrayObject rather than one that hits the filesystem