Last active
May 24, 2019 07:24
-
-
Save rmccullagh/8bf94fe6a98203d746c6011bb916fb6b to your computer and use it in GitHub Desktop.
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
<?php | |
// Note this file is stripped down for example purposes | |
return [ | |
'providers' => [ | |
// Custom service providers are added here | |
App\Asset\AssetServiceProvider::class | |
], | |
/* | |
|-------------------------------------------------------------------------- | |
| Class Aliases | |
|-------------------------------------------------------------------------- | |
| | |
| 02/12/2019 - Also note, that by using an Alias, one does not have to | |
| use a using statement for the class | |
| | |
| For example, since Validator is in the alias list, you do not have to insert | |
| a use Illuminate\Support\Facades\Validator statement, you can do a | |
| use Validator. However, this is bad practice. | |
| | |
*/ | |
'aliases' => [ | |
'Asset' => App\Asset\Asset::class, | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment