/
var
/
www
/
flurhymez
/
vendor
/
spatie
/
laravel-translatable
/
src
/
Events
/
/var/www/flurhymez/vendor/spatie/laravel-translatable/src/Events
mkdir
upload
Name
Size
Mode
Actions
TranslationHasBeenSet.php
549
0644
edit
dl
rm
Edit:
/var/www/flurhymez/vendor/spatie/laravel-translatable/src/Events/TranslationHasBeenSet.php
(549B)
<?php namespace Spatie\Translatable\Events; class TranslationHasBeenSet { /** @var \Spatie\Translatable\Translatable */ public $model; /** @var string */ public $key; /** @var string */ public $locale; public $oldValue; public $newValue; public function __construct($model, string $key, string $locale, $oldValue, $newValue) { $this->model = $model; $this->key = $key; $this->locale = $locale; $this->oldValue = $oldValue; $this->newValue = $newValue; } }
Save
model = $model; $this->key = $key; $this->locale = $locale; $this->oldValue = $oldValue; $this->newValue = $newValue; } }