Created
March 12, 2014 20:26
-
-
Save assertchris/9515594 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| namespace Tricks\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| use Tricks\Services\Navigation\Builder; | |
| class NavigationServiceProvider extends ServiceProvider | |
| { | |
| /** | |
| * Register the service provider. | |
| * | |
| * @return void | |
| */ | |
| public function register() | |
| { | |
| $this->app['navigation.builder'] = $this->app->share(function ($app) { | |
| return new Builder($app['config'], $app['auth']); | |
| }); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment