PHP Class Cviebrock\EloquentSluggable\Tests\Models\PostWithRelation

A test model used for the relationship tests.
Inheritance: extends Cviebrock\EloquentSluggable\Tests\Models\Post
Afficher le fichier Open project: cviebrock/eloquent-sluggable Class Usage Examples

Méthodes publiques

Méthode Description
author ( ) : BelongsTo Relation to Author model.
sluggable ( ) : array Return the sluggable configuration array for this model.

Method Details

author() public méthode

Relation to Author model.
public author ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

sluggable() public méthode

Return the sluggable configuration array for this model.
public sluggable ( ) : array
Résultat array