Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
WellCommerce
Bundle
RoutingBundle
Generator
SlugGeneratorInterface
PHP Interface WellCommerce\Bundle\RoutingBundle\Generator\SlugGeneratorInterface
Author:
Adam Piotrowski (
[email protected]
)
Exibir arquivo
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