프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
public __toString ( ) : string | ||
리턴 | string |
public setNameAttribute ( string $value ) | ||
$value | string |