Completed
Push — master ( 7e753b...2da5ac )
by C
11:06
created

ConvertSoundListener   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 4
Bugs 0 Features 1
Metric Value
wmc 2
c 4
b 0
f 1
lcom 0
cbo 1
dl 0
loc 15
ccs 4
cts 4
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfigurationKey() 0 4 1
A getFileExtensionsForCommand() 0 6 1
1
<?php
2
namespace Tartana\Event\Listener;
3
4
class ConvertSoundListener extends AbstractProcessingListener
5
{
6
7 6
	protected function getConfigurationKey ()
8
	{
9 6
		return 'sound.destination';
10
	}
11
12 2
	protected function getFileExtensionsForCommand ()
13
	{
14
		return [
15
				'mp4' => 'convert:sound'
16 2
		];
17
	}
18
}
19