PHP Interface WellCommerce\Bundle\RoutingBundle\Generator\SlugGeneratorInterface

Author: Adam Piotrowski ([email protected])
Afficher le fichier Open project: wellcommerce/wellcommerce

Méthodes publiques

Méthode Description
generate ( string $name, integer | null $id, string $locale, array $values, integer $iteration ) : string Generates and validates uniqueness of slug

Method Details

generate() public méthode

Generates and validates uniqueness of slug
public generate ( string $name, integer | null $id, string $locale, array $values, integer $iteration ) : string
$name string Passed value to generate slug
$id integer | null Entity id
$locale string Field locale
$values array Other sluggable field values
$iteration integer
Résultat string