PHP Class app\models\Tag

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: spatie-custom/blender Class Usage Examples

Méthodes publiques

Méthode Description
findOrCreate ( $name, string $type = null, string $locale = null ) : Tag
hasType ( string $type ) : boolean

Method Details

findOrCreate() public static méthode

public static findOrCreate ( $name, string $type = null, string $locale = null ) : Tag
$type string
$locale string
Résultat Tag

hasType() public méthode

public hasType ( string $type ) : boolean
$type string
Résultat boolean