-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaning up the foundation application.
- Loading branch information
1 parent
3df97c8
commit 3385fdc
Showing
4 changed files
with
31 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Illuminate\Foundation\Events; | ||
|
||
class LocaleUpdated | ||
{ | ||
/** | ||
* The new locale. | ||
* | ||
* @var string | ||
*/ | ||
public $locale; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param string $locale | ||
* @return void | ||
*/ | ||
public function __construct($locale) | ||
{ | ||
$this->locale = $locale; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is the reason for this deletion? It is useful to observe for a provider registration to manipulate it when we need. Actually, we are able to do it via App@booting, maybe this is why. Right?