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
PostWithOnUpdate
sluggable
Cviebrock\EloquentSluggable\Tests\Models\PostWithOnUpdate::sluggable PHP Method
PostWithOnUpdate 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', 'onUpdate' => true]]; }
PostWithOnUpdate
sluggable