stof/StofDoctrineExtensionsBundle — Issue #78: array merge with similar slugs
Author: viszinisa
Created: 2011-10-22 00:05:19+00:00
State: open

File: SluggableListener
Function: makeUniqueSlug()
Line: $result += $this->getSimilarPersistedSlugs($config['useObjectClass'], $preferedSlug, $config['slug']);

+= operator:
Merges only unique keys. So it happens that ignores Persisted slugs if there are Similar slugs fetched from DB.