Come BackEnd

This commit is contained in:
saeid_01
2019-04-18 20:18:13 +04:30
parent dfbefad4a4
commit 03a135305b
61 changed files with 3266 additions and 58 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class MessageServiceProvider extends ServiceProvider
{
protected $defer = true;
public function register()
{
$this->app->singleton('messages', function() {
return new \App\Appended\Classes\Common\Response\MessageResponse;
});
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return [MessageResponse::class];
}
}