Completed
Push — master ( 86928f...ccdb85 )
by Nikita
06:11
created

onComposerCommandEvent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace Taisiya\CoreBundle\Event;
4
5
use Taisiya\CoreBundle\Event\Composer\CommandEvent;
6
7
class RebuildSettingsSubscriber implements EventSubscriberInterface
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    public static function getSubscribedEvents()
13
    {
14
        return [
15
            CommandEvent::NAME => [
16
                ['rebuildSettings'],
17
            ],
18
        ];
19
    }
20
21
    /**
22
     * @param CommandEvent $event
23
     */
24
    public function rebuildSettings(CommandEvent $event): void
25
    {
26
        var_dump($event);
0 ignored issues
show
Security Debugging Code introduced by
var_dump($event); looks like debug code. Are you sure you do not want to remove it? This might expose sensitive data.
Loading history...
27
    }
28
}
29