1234567891011121314151617181920212223 |
- <?php
- namespace Gedmo\Sluggable\Mapping;
- use Doctrine\Common\Annotations\Annotation;
- /**
- * These are Sluggable extension annotations which should be used
- * for slug generation on any Entity from sluggable fields
- *
- * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
- * @package Gedmo.Sluggable.Mapping
- * @subpackage Annotations
- * @link http://www.gediminasm.org
- * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
- */
- final class Sluggable extends Annotation {}
- final class Slug extends Annotation {
- public $updatable = true;
- public $style = 'default'; // or "camel"
- public $unique = true;
- public $separator = '-';
- }
|