Skip to content

add service alias for slugify - #28

Merged
florianeckerstorfer merged 1 commit into
cocur:masterfrom
kbond:slugify-alias
Apr 18, 2014
Merged

add service alias for slugify#28
florianeckerstorfer merged 1 commit into
cocur:masterfrom
kbond:slugify-alias

Conversation

@kbond

@kbond kbond commented Apr 18, 2014

Copy link
Copy Markdown
Contributor

In the docs, it says you can access the slugify service via:

$slug = $this->get('slugify')->slugify('Hello World!');

This does not work currently - you need to use:

$slug = $this->get('cocur_slugify')->slugify('Hello World!');

This PR adds a slugify service alias to allow the code in the docs to work.

florianeckerstorfer pushed a commit that referenced this pull request Apr 18, 2014
add service alias for slugify
@florianeckerstorfer
florianeckerstorfer merged commit a462570 into cocur:master Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants