Property | Type | Description | |
---|---|---|---|
$timestamps |
Property | Type | Description | |
---|---|---|---|
$fillable | |||
$table | |||
$taggedModel | string | The tagged entities model. |
Method | 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 | ||
return | string |
public static setTaggedModel ( string $taggedModel ) : void | ||
$taggedModel | string | |
return | void |
public taggable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo | ||
return | Illuminate\Database\Eloquent\Relations\MorphTo |
public tagged ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
return | Illuminate\Database\Eloquent\Relations\HasMany |
protected static string $taggedModel | ||
return | string |