condorrocks/condor

View on GitHub
app/Providers/FeedsServiceProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class FeedsServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind('UptimeRobot', function () {
            return new \Alariva\UptimeRobot\UptimeRobot();
        });

        $this->app->bind('SSLCertificateMonitorAdapter', function () {
            return new \App\Condor\Aspects\SSLCertificate\SSLCertificateMonitorAdapter();
        });
    }
}