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
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?
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?