mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
huge Laravel 10 upgrade
This commit is contained in:
28
support/laravel-translation/src/Events/TranslationAdded.php
Normal file
28
support/laravel-translation/src/Events/TranslationAdded.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace JoeDixon\Translation\Events;
|
||||
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
|
||||
class TranslationAdded
|
||||
{
|
||||
use Dispatchable;
|
||||
|
||||
public $key;
|
||||
public $group;
|
||||
public $value;
|
||||
public $language;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(string $language, string $group, string $key, string $value)
|
||||
{
|
||||
$this->language = $language;
|
||||
$this->group = $group;
|
||||
$this->key = $key;
|
||||
$this->value = $value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user