| 1 | <?php namespace Arcanedev\Localization\Events; |
||
| 11 | class TranslationHasBeenSet |
||
| 12 | { |
||
| 13 | /* ----------------------------------------------------------------- |
||
| 14 | | Properties |
||
| 15 | | ----------------------------------------------------------------- |
||
| 16 | */ |
||
| 17 | |||
| 18 | /** @var \Illuminate\Database\Eloquent\Model */ |
||
| 19 | public $model; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | public $attribute; |
||
| 23 | |||
| 24 | /** @var string */ |
||
| 25 | public $locale; |
||
| 26 | |||
| 27 | /** @var mixed */ |
||
| 28 | public $oldValue; |
||
| 29 | |||
| 30 | /** @var mixed */ |
||
| 31 | public $newValue; |
||
| 32 | |||
| 33 | /* ----------------------------------------------------------------- |
||
| 34 | | Constructor |
||
| 35 | | ----------------------------------------------------------------- |
||
| 36 | */ |
||
| 37 | |||
| 38 | /** |
||
| 39 | * TranslationHasBeenSet constructor. |
||
| 40 | * |
||
| 41 | * @param \Illuminate\Database\Eloquent\Model $model |
||
| 42 | * @param string $attribute |
||
| 43 | * @param string $locale |
||
| 44 | * @param mixed $oldValue |
||
| 45 | * @param mixed $newValue |
||
| 46 | */ |
||
| 47 | 45 | public function __construct(Model $model, $attribute, $locale, $oldValue, $newValue) |
|
| 55 | } |
||
| 56 |