src/Miladr/Jalali/JalaliServiceProvider.php
public function register()
  {
      $this->app['jalali'] = $this->app->share(function($app)
  		{
  		  return new jDate;
	});
      $this->app->booting(function()
      {
          $loader = \Illuminate\Foundation\AliasLoader::getInstance();
          $loader->alias('jDate', 'Miladr\Jalali\jDate');
	});
	
      $this->app['jDateTime'] = $this->app->share(function($app)
  		{
  		  return new jDateTime;
	});
      $this->app->booting(function()
      {
          $loader = \Illuminate\Foundation\AliasLoader::getInstance();
          $loader->alias('jDateTime', 'Miladr\Jalali\jDateTime');
	});


  }
public function register()
  {
      $this->app['jalali'] = $this->app->share(function($app)
  		{
  		  return new jDate;
	});
      $this->app->booting(function()
      {
          $loader = \Illuminate\Foundation\AliasLoader::getInstance();
          $loader->alias('jDate', 'Miladr\Jalali\jDate');
	});
	
      $this->app['jDateTime'] = $this->app->share(function($app)
  		{
  		  return new jDateTime;
	});
      $this->app->booting(function()
      {
          $loader = \Illuminate\Foundation\AliasLoader::getInstance();
          $loader->alias('jDateTime', 'Miladr\Jalali\jDateTime');
	});


  }
Register the service provider.

@return void