$yak = $${$foo{'bar'}}{'baz'}[0]; #### Integer yak = (foo->get("bar")->get("baz"))[0];