protected function registerStaplerRefreshCommand()
    {
        $this->app->bind('stapler.refresh', function ($app) {
            $refreshService = $app['ImageRefreshService'];

            return new Commands\RefreshCommand($refreshService);
        });
    }
protected function registerStaplerRefreshCommand()
    {
        $this->app->bind('stapler.refresh', function ($app) {
            $refreshService = $app['ImageRefreshService'];

            return new Commands\RefreshCommand($refreshService);
        });
    }
protected function registerStaplerRefreshCommand ( ) { $ this -> app -> bind ( 'stapler.refresh' , function ( $ app ) { $ refreshService = $ app [ 'ImageRefreshService' ] ; return new Commands \ RefreshCommand ( $ refreshService ) ; } ) ; }
Register the stapler refresh command with the container.
Register the stapler refresh command with the container .