File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- /**
4
- * This file is part of the laravel url package.
5
- *
6
- * For the full copyright and license information,
7
- * please view the LICENSE file that was distributed with this source code.
8
- */
9
-
10
-
11
3
namespace Benrowe \Laravel \Url ;
12
4
13
5
use Illuminate \Support \ServiceProvider as LaravelServiceProvider ;
18
10
* Registers the service provider into the application IOC
19
11
*
20
12
* @package Benrowe\Laravel\Url
21
- * @author Ben Rowe <[email protected] >
22
- * @copyright Ben Rowe <[email protected] >
23
- * @link https://github.com/benrowe/laravel-filesystem-url
24
13
*/
25
14
class ServiceProvider extends LaravelServiceProvider
26
15
{
@@ -44,7 +33,7 @@ function ($expression) {
44
33
45
34
public function register ()
46
35
{
47
- $ this ->app ->bindShared ('filesystem-url ' , function ($ app ) {
36
+ $ this ->app ->singleton ('filesystem-url ' , function ($ app ) {
48
37
return new UrlService (config ('filesystems ' ), $ app ['request ' ]->secure ());
49
38
});
50
39
$ this ->app ->alias ('filesystem-url ' , 'Benrowe\Laravel\Url\UrlService ' );
You can’t perform that action at this time.
0 commit comments