Skip to content

Instantly share code, notes, and snippets.

@rmccullagh
Last active May 24, 2019 07:24
Show Gist options
  • Save rmccullagh/8bf94fe6a98203d746c6011bb916fb6b to your computer and use it in GitHub Desktop.
Save rmccullagh/8bf94fe6a98203d746c6011bb916fb6b to your computer and use it in GitHub Desktop.
<?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