Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Cviebrock
EloquentSluggable
Tests
Models
PostWithMaxLength
sluggable
Cviebrock\EloquentSluggable\Tests\Models\PostWithMaxLength::sluggable PHP Method
PostWithMaxLength Class Documentation
Mostrar archivo
Open project: cviebrock/eloquent-sluggable
sluggable()
public
method
Return the sluggable configuration array for this model.
public
sluggable
( ) :
array
return
array
public function sluggable() { return ['slug' => ['source' => 'title', 'maxLength' => 10]]; }
PostWithMaxLength
sluggable