PHP 클래스 Dimsav\Translatable\Test\Model\CountryStrict

상속: extends Illuminate\Database\Eloquent\Model, use trait Dimsav\Translatable\Translatable
파일 보기 프로젝트 열기: dimsav/laravel-translatable 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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.

보호된 프로퍼티들

프로퍼티 타입 설명
$softDelete

프로퍼티 상세

$fillable 공개적으로 프로퍼티

Add your translated attributes here if you want fill them with mass assignment.
public array $fillable
리턴 array

$localeKey 공개적으로 프로퍼티

Defaults to 'locale'.
public string $localeKey
리턴 string

$softDelete 보호되어 있는 프로퍼티

protected $softDelete

$table 공개적으로 프로퍼티

public $table

$translatedAttributes 공개적으로 프로퍼티

Array with the fields translated in the Translation table.
public array $translatedAttributes
리턴 array

$translationForeignKey 공개적으로 프로퍼티

Foreign key for the translation relationship
public $translationForeignKey

$translationModel 공개적으로 프로퍼티

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