PHP Classes

File: src/ContaoManager/Plugin.php

Recommend this page to a friend!
  Classes of stefan   contao PHP Spambot Detection   src/ContaoManager/Plugin.php   Download  
File: src/ContaoManager/Plugin.php
Role: Class source
Content type: text/plain
Description: Class source
Class: contao PHP Spambot Detection
Detect and block spam bots from accessing sites
Author: By
Last change:
Date: 1 year ago
Size: 821 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);

/*
 * sync*gw SpamBot Bundle
 *
 * @copyright https://syncgw.com, 2013 - 2022
 * @author Florian Daeumling, https://syncgw.com
 * @license http://opensource.org/licenses/lgpl-3.0.html
 */

namespace syncgw\SpamBotBundle\ContaoManager;

use
Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use
Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use
Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use
Contao\CoreBundle\ContaoCoreBundle;
use
syncgw\SpamBotBundle\SpamBotBundle;

class
Plugin implements BundlePluginInterface {

    public function
getBundles(ParserInterface $parser): array {
        return [
           
BundleConfig::create(SpamBotBundle::class)
                ->
setLoadAfter([ ContaoCoreBundle::class ]),
        ];
    }

}

?>