DailymotionConfiguration::getCategoryMap()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

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 2
nc 1
nop 0
1
<?php
2
3
namespace Libcast\AssetDistributor\Dailymotion;
4
5
use Libcast\AssetDistributor\Configuration\AbstractConfiguration;
6
use Libcast\AssetDistributor\Configuration\Configuration;
7
use Psr\Log\LoggerInterface;
8
9
class DailymotionConfiguration extends AbstractConfiguration implements Configuration
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14
    public function __construct(array $configuration, LoggerInterface $logger = null)
15
    {
16
        $configuration = array_merge($configuration, [
17
            'scopes' => ['manage_videos'],
18
        ]);
19
20
        parent::__construct($configuration, $logger);
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function getCategoryMap()
27
    {
28
        return [];
29
    }
30
}
31