samjarrett / DoctrineSluggableBundle

A Symfony2 bundle that provides a Doctrine2 sluggable behavior implementation, providing a unique slug across many Doctrine ORM entities simply by implementing a simple PHP interface
GNU Lesser General Public License v2.1
16 stars 4 forks source link

Remove the dependency of comparing objects using getId() #4

Closed cammanderson closed 13 years ago

cammanderson commented 13 years ago

Remove the getId() from the interface and implement a way of comparing matched objects using Doctrine. This will remove any dependencies on getId, which are currently unavoidable as needed to detect conflicts of generated slugs. Ideas anyone? Any equals method or something?

samjarrett commented 13 years ago

This was fixed up in a recent commit.