fix bug helper function

This commit is contained in:
Nasser Hekmati committed 2017-05-26 21:48:46 +04:30
commit 9bb9728264
7 files changed
+1854

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
<?php
namespace Hekmatinasser\Verta;
use Illuminate\Support\ServiceProvider;
class VertaServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
$this->app->bind('verta', function ($app) {
return new Verta;
});
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return array('verta');
}
}