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
EloquentTaggable
Taggable
detag
Cviebrock\EloquentTaggable\Taggable::detag PHP Method
Taggable Interface Documentation
Mostrar archivo
Open project: cviebrock/eloquent-taggable
detag()
public
method
Remove all tags from the model.
public
detag
( )
public function detag() { $this->tags()->sync([]); return $this->load('tags'); }
Taggable
addOneTag
allTags
allTagsList
detag
getTagArrayAttribute
getTagArrayNormalizedAttribute
getTagListAttribute
getTagListNormalizedAttribute
removeOneTag
retag
scopeWithAllTags
scopeWithAnyTags
scopeWithoutTags
tag
tags
untag