Test Failed
Push — develop ( 6f947a...7aea1a )
by Paul
18:36
created

Hooks::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
c 1
b 0
f 1
dl 0
loc 5
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Integrations\CloudFlare;
4
5
use GeminiLabs\SiteReviews\Integrations\IntegrationHooks;
6
7
class Hooks extends IntegrationHooks
8
{
9
    public function run(): void
10
    {
11
        $this->hook(Controller::class, [
12
            ['filterPurgeActions', 'cloudflare_purge_url_actions'],
13
            ['filterPurgeEverythingActions', 'cloudflare_purge_everything_actions'],
14
        ]);
15
    }
16
}
17