* @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ interface Sluggable { // use now annotations instead of predifined methods, this interface is not necessary /** * @gedmo:Sluggable * to mark the field as sluggable use property annotation @gedmo:Sluggable * this field value will be included in built slug */ /** * @gedmo:Slug - to mark property which will hold slug use annotation @gedmo:Slug * available options: * updatable (optional, default=true) - true to update the slug on sluggable field changes, false - otherwise * unique (optional, default=true) - true if slug should be unique and if identical it will be prefixed, false - otherwise * separator (optional, default="-") - separator which will separate words in slug * prefix (optional, default="") - suffix which will be added to the generated slug * suffix (optional, default="") - prefix which will be added to the generated slug * style (optional, default="default") - "default" all letters will be lowercase, "camel" - first word letter will be uppercase * * example: * * @gedmo:Slug(style="camel", separator="_", prefix="", suffix="" updatable=false, unique=false) * @Column(type="string", length=64) * $property */ }