PHP Class Dimsav\Translatable\Test\Model\CountryStrict

Inheritance: extends Illuminate\Database\Eloquent\Model, use trait Dimsav\Translatable\Translatable
显示文件 Open project: dimsav/laravel-translatable Class Usage Examples

Public Properties

Property 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

Property 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
return array

$localeKey public_oe property

Defaults to 'locale'.
public string $localeKey
return 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
return 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