Свойство | Type | Description | |
---|---|---|---|
$timestamps |
Свойство | Type | Description | |
---|---|---|---|
$fillable | |||
$table | |||
$taggedModel | string | The tagged entities model. |
Méthode | Description | |
---|---|---|
delete ( ) | ||
getTaggedModel ( ) : string | Returns the tagged entities model. | |
scopeName ( |
Finds a tag by its name. | |
scopeSlug ( |
Finds a tag by its slug. | |
setTaggedModel ( string $taggedModel ) : void | Sets the tagged entities model. | |
taggable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo | Returns the polymorphic relationship. | |
tagged ( ) : Illuminate\Database\Eloquent\Relations\HasMany | Returns this tag tagged entities. |
public static getTaggedModel ( ) : string | ||
Résultat | string |
public static setTaggedModel ( string $taggedModel ) : void | ||
$taggedModel | string | |
Résultat | void |
public taggable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo | ||
Résultat | Illuminate\Database\Eloquent\Relations\MorphTo |
public tagged ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
Résultat | Illuminate\Database\Eloquent\Relations\HasMany |
protected static string $taggedModel | ||
Résultat | string |