public function fetchAllResults() { return [(object) ['id' => 1, 'type' => 'object', 'subtype' => 'foo', 'class' => 'FooObject'], (object) ['id' => 2, 'type' => 'object', 'subtype' => 'foo2', 'class' => 'Foo2Object']]; }