@@ -16,25 +16,25 @@ class UploadManager extends Manager
1616{
1717 public function createMonolithDriver ()
1818 {
19- return new MonolithBaseHandler ($ this ->app ['config ' ]['upload-handler.monolith ' ]);
19+ return new MonolithBaseHandler ($ this ->container ['config ' ]['upload-handler.monolith ' ]);
2020 }
2121
2222 public function createBlueimpDriver ()
2323 {
2424 /** @var \Illuminate\Support\Manager $identityManager */
25- $ identityManager = $ this ->app ['upload-handler.identity-manager ' ];
25+ $ identityManager = $ this ->container ['upload-handler.identity-manager ' ];
2626
27- return new BlueimpBaseHandler ($ this ->app ['config ' ]['upload-handler.blueimp ' ], $ identityManager ->driver ());
27+ return new BlueimpBaseHandler ($ this ->container ['config ' ]['upload-handler.blueimp ' ], $ identityManager ->driver ());
2828 }
2929
3030 public function createDropzoneDriver ()
3131 {
32- return new DropzoneBaseHandler ($ this ->app ['config ' ]['upload-handler.dropzone ' ]);
32+ return new DropzoneBaseHandler ($ this ->container ['config ' ]['upload-handler.dropzone ' ]);
3333 }
3434
3535 public function createFlowJsDriver ()
3636 {
37- return new FlowJsHandler ($ this ->app ['config ' ]['upload-handler.resumable-js ' ], $ this ->identityManager ()->driver ());
37+ return new FlowJsHandler ($ this ->container ['config ' ]['upload-handler.resumable-js ' ], $ this ->identityManager ()->driver ());
3838 }
3939
4040 public function createNgFileUploadDriver ()
@@ -49,20 +49,20 @@ public function createPluploadDriver()
4949
5050 public function createResumableJsDriver ()
5151 {
52- return new ResumableJsBaseHandler ($ this ->app ['config ' ]['upload-handler.resumable-js ' ], $ this ->identityManager ()->driver ());
52+ return new ResumableJsBaseHandler ($ this ->container ['config ' ]['upload-handler.resumable-js ' ], $ this ->identityManager ()->driver ());
5353 }
5454
5555 public function createSimpleUploaderJsDriver ()
5656 {
57- return new SimpleUploaderJsHandler ($ this ->app ['config ' ]['upload-handler.simple-uploader-js ' ], $ this ->identityManager ()->driver ());
57+ return new SimpleUploaderJsHandler ($ this ->container ['config ' ]['upload-handler.simple-uploader-js ' ], $ this ->identityManager ()->driver ());
5858 }
5959
6060 /**
6161 * @return \Illuminate\Support\Manager
6262 */
6363 protected function identityManager ()
6464 {
65- return $ this ->app ['upload-handler.identity-manager ' ];
65+ return $ this ->container ['upload-handler.identity-manager ' ];
6666 }
6767
6868 /**
@@ -72,7 +72,7 @@ protected function identityManager()
7272 */
7373 public function getDefaultDriver ()
7474 {
75- return $ this ->app ['config ' ]['upload-handler.handler ' ];
75+ return $ this ->container ['config ' ]['upload-handler.handler ' ];
7676 }
7777
7878 /**
@@ -84,6 +84,6 @@ public function getDefaultDriver()
8484 */
8585 public function setDefaultDriver ($ name )
8686 {
87- $ this ->app ['config ' ]['upload-handler.handler ' ] = $ name ;
87+ $ this ->container ['config ' ]['upload-handler.handler ' ] = $ name ;
8888 }
8989}
0 commit comments