Doctrine2 – Working with slugs (Slug Type)

http://dev.dbl-a.com/php/doctrine2-working-with-slugs-slug-type/