PHP Class Dimsav\Translatable\Test\Model\CountryStrict

Inheritance: extends Illuminate\Database\Eloquent\Model, use trait Dimsav\Translatable\Translatable
Afficher le fichier Open project: dimsav/laravel-translatable Class Usage Examples

Méthodes publiques

Свойство Type Description
$fillable array Add your translated attributes here if you want fill them with mass assignment.
$localeKey string Defaults to 'locale'.
$table
$translatedAttributes array Array with the fields translated in the Translation table.
$translationForeignKey Foreign key for the translation relationship
$translationModel The convention would be Dimsav\Translatable\Test\Model\CountryStrictTranslation.

Protected Properties

Свойство Type Description
$softDelete

Property Details

$fillable public_oe property

Add your translated attributes here if you want fill them with mass assignment.
public array $fillable
Résultat array

$localeKey public_oe property

Defaults to 'locale'.
public string $localeKey
Résultat string

$softDelete protected_oe property

protected $softDelete

$table public_oe property

public $table

$translatedAttributes public_oe property

Array with the fields translated in the Translation table.
public array $translatedAttributes
Résultat array

$translationForeignKey public_oe property

Foreign key for the translation relationship
public $translationForeignKey

$translationModel public_oe property

The convention would be Dimsav\Translatable\Test\Model\CountryStrictTranslation.
public $translationModel