PHP Interface WellCommerce\Bundle\RoutingBundle\Generator\SlugGeneratorInterface

Author: Adam Piotrowski ([email protected])
ファイルを表示 Open project: wellcommerce/wellcommerce

Public Methods

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

Method Details

generate() public method

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
return string