Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53ddf39
commit 72cdeb2
Showing
19 changed files
with
83 additions
and
83 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
File renamed without changes.
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<?php | ||
|
||
namespace AlexJoffroy\RouteLocalization\Facades; | ||
namespace AlexJoffroy\Localization\Facades; | ||
|
||
use Illuminate\Support\Facades\Facade; | ||
|
||
/** | ||
* @see \AlexJoffroy\RouteLocalization\RouteLocalization | ||
* @see \AlexJoffroy\Localization\Localization | ||
*/ | ||
class L10n extends Facade | ||
{ | ||
protected static function getFacadeAccessor(): string | ||
{ | ||
return 'route-localization'; | ||
return 'localization'; | ||
} | ||
} |
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
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
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
20 changes: 10 additions & 10 deletions
20
src/RouteLocalizationServiceProvider.php → src/LocalizationServiceProvider.php
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?php | ||
|
||
namespace AlexJoffroy\RouteLocalization\Tests\Facades; | ||
namespace AlexJoffroy\Localization\Tests\Facades; | ||
|
||
use AlexJoffroy\RouteLocalization\Facades\L10n; | ||
use AlexJoffroy\RouteLocalization\Tests\TestCase; | ||
use AlexJoffroy\Localization\Facades\L10n; | ||
use AlexJoffroy\Localization\Tests\TestCase; | ||
|
||
class L10nTest extends TestCase | ||
{ | ||
/** @test */ | ||
public function it_resolves_to_the_localization_manager_instance() | ||
{ | ||
$this->assertEquals(L10n::getFacadeRoot(), app('route-localization')); | ||
$this->assertEquals(L10n::getFacadeRoot(), app('localization')); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?php | ||
|
||
namespace AlexJoffroy\RouteLocalization\Tests\Helpers; | ||
namespace AlexJoffroy\Localization\Tests\Helpers; | ||
|
||
use AlexJoffroy\RouteLocalization\Tests\TestCase; | ||
use AlexJoffroy\Localization\Tests\TestCase; | ||
|
||
class L10nTest extends TestCase | ||
{ | ||
/** @test */ | ||
public function it_resolves_to_the_localization_manager_instance() | ||
{ | ||
$this->assertEquals(l10n(), app('route-localization')); | ||
$this->assertEquals(l10n(), app('localization')); | ||
} | ||
} |
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
Oops, something went wrong.