Passed
Pull Request — main (#3)
by Paolo
01:09
created

Plugin   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 12
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A bootstrap() 0 5 1
1
<?php
2
declare(strict_types=1);
3
4
namespace BEdita\ElasticSearch;
5
6
use Cake\Core\BasePlugin;
7
use Cake\Core\PluginApplicationInterface;
8
use Cake\ElasticSearch\Plugin as ElasticSearchPlugin;
9
10
/**
11
 * Plugin for BEdita ElasticSearch
12
 */
13
class Plugin extends BasePlugin
14
{
15
    /**
16
     * {@inheritDoc}
17
     *
18
     * @codeCoverageIgnore
19
     */
20
    public function bootstrap(PluginApplicationInterface $app): void
21
    {
22
        parent::bootstrap($app);
23
24
        $app->addPlugin(ElasticSearchPlugin::class);
25
    }
26
}
27