function() { $arr = ['base' => '/']; $arr['api'] = 'http://localhost:8080'; return (object) $arr; } ];