src/CalendarEventsServiceProvider.php
public function register()
    {
        $this->app->bind(
            'calendar_events_engine',
            function () {
                return new CalendarEventsEngine(new Carbon());
            }
        );

        $this->app->bind(
            'calendar_events_service',
            function () {
                new CalendarEventsService(
                    $this->app->make('calendar_events_engine'),
                    new Models\CalendarEvent(),
                    new Models\CalendarEventRepeatDate(),
                    new Cache()
                );
            }
        );
    }
public function register()
    {
        $this->app->bind(
            'calendar_events_engine',
            function () {
                return new CalendarEventsEngine(new Carbon());
            }
        );

        $this->app->bind(
            'calendar_events_service',
            function () {
                new CalendarEventsService(
                    $this->app->make('calendar_events_engine'),
                    new Models\CalendarEvent(),
                    new Models\CalendarEventRepeatDate(),
                    new Cache()
                );
            }
        );
    }
public function register ( ) { $ this -> app -> bind ( 'calendar_events_engine' , function ( ) { return new CalendarEventsEngine ( new Carbon ( ) ) ; } ) ; $ this -> app -> bind ( 'calendar_events_service' , function ( ) { new CalendarEventsService ( $ this -> app -> make ( 'calendar_events_engine' ) , new Models \ CalendarEvent ( ) , new Models \ CalendarEventRepeatDate ( ) , new Cache ( ) ) ; } ) ; }
Register the application services.

@return void
Register the application services .