PHP Класс Cviebrock\EloquentTaggable\Models\Tag

Наследование: extends Illuminate\Database\Eloquent\Model
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$fillable array The attributes that are mass assignable.
$primaryKey string The primary key for the model.
$table string The table associated with the model.

Открытые методы

Метод Описание
__toString ( ) : string Convert the model to its string representation.
setNameAttribute ( string $value ) Set the name attribute on the model.

Описание методов

__toString() публичный Метод

Convert the model to its string representation.
public __toString ( ) : string
Результат string

setNameAttribute() публичный Метод

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

Описание свойств

$fillable защищенное свойство

The attributes that are mass assignable.
protected array $fillable
Результат array

$primaryKey защищенное свойство

The primary key for the model.
protected string $primaryKey
Результат string

$table защищенное свойство

The table associated with the model.
protected string $table
Результат string