<?php namespace Lio\ServiceProviders;

use Illuminate\Support\ServiceProvider;
use Lio\Content\ForeignLanguageSpamDetector;
use Lio\Content\PhoneNumberSpamDetector;
use Lio\Content\SpamFilter;

class ContentServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bindShared('Lio\Content\SpamDetector', function () {
            return new SpamFilter([
                new PhoneNumberSpamDetector,
                new ForeignLanguageSpamDetector,
            ]);
        });
    }

    public function provides()
    {
        return ['Lio\Content\SpamDetector'];
    }
}

<?php namespace Lio\ServiceProviders;

use Illuminate\Support\ServiceProvider;
use Lio\Content\SpamFilter;

class ContentServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bindShared('Lio\Content\SpamDetector', function () {
            return new SpamFilter([]);
        });
    }

    public function provides()
    {
        return ['Lio\Content\SpamDetector'];
    }
}

Disable spam filters for now
Disable spam filters for now
