Completed
Pull Request — 4.2 (#140)
by David
26:56
created

VoidListener::onGenerate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 2
1
<?php
2
3
4
namespace Mouf\Database\TDBM\Utils;
5
6
use Mouf\Database\TDBM\ConfigurationInterface;
7
8
/**
9
 * A listener that does nothing.
10
 */
11
class VoidListener implements GeneratorListenerInterface
12
{
13
14
    /**
15
     * @param ConfigurationInterface $configuration
16
     * @param BeanDescriptorInterface[] $beanDescriptors
17
     */
18
    public function onGenerate(ConfigurationInterface $configuration, array $beanDescriptors): void
19
    {
20
        // Let's do nothing.
21
    }
22
}
23