Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Herzult committed Jul 21, 2011
1 parent 0084ebd commit 6181477
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -56,7 +56,7 @@ By default, the host of the request will be used, but you can also specify it in

# app/config/config.yml

knplabs_media_exposer:
knp_media_exposer:
base_url: 'http://the-base.url'

Registering Resolvers
Expand All @@ -72,17 +72,17 @@ Here is an exemple of resolver service registration in **yml**:
foo.bar_resolver:
class: 'Foo\BarResolver'
tags:
- { name: 'media_exposer.resolver' }
- { name: 'knp_media_exposer.resolver' }

An optional `priority` can also be specified:

services:
foo.bar_resolver:
class: 'Foo\BarResolver'
tags:
- { name: 'media_exposer.resolver', priority: 10 }
- { name: 'knp_media_exposer.resolver', priority: 10 }

**Note:** Don't forget that the lowest priority is the first and the highest is the last.
**Note:** Don't forget that the highest priority is the first and the lowest is the last.

Usage
-----
Expand Down

0 comments on commit 6181477

Please sign in to comment.