registerResource( // This function will be called when the resource is needed. function() { return array( 'bar' => "Hello", ); }, "requiredArgument", null ); };