PHP Class Cviebrock\EloquentTaggable\Models\Tag

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: cviebrock/eloquent-taggable Class Usage Examples

Protected Properties

Свойство Type Description
$fillable array The attributes that are mass assignable.
$primaryKey string The primary key for the model.
$table string The table associated with the model.

Méthodes publiques

Méthode Description
__toString ( ) : string Convert the model to its string representation.
setNameAttribute ( string $value ) Set the name attribute on the model.

Method Details

__toString() public méthode

Convert the model to its string representation.
public __toString ( ) : string
Résultat string

setNameAttribute() public méthode

Set the name attribute on the model.
public setNameAttribute ( string $value )
$value string

Property Details

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$primaryKey protected_oe property

The primary key for the model.
protected string $primaryKey
Résultat string

$table protected_oe property

The table associated with the model.
protected string $table
Résultat string