ImagineResolverFactory   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 26
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getKey() 0 4 1
A addConfiguration() 0 4 1
A create() 0 4 1
1
<?php
2
3
/**
4
 * Copyright 2014 Jonathan Bouzekri. All rights reserved.
5
 *
6
 * @copyright Copyright 2014 Jonathan Bouzekri <[email protected]>
7
 * @license https://github.com/jbouzekri/FileUploaderBundle/blob/master/LICENSE
8
 * @link https://github.com/jbouzekri/FileUploaderBundle
9
 */
10
11
/**
12
 * @namespace
13
 */
14
namespace Jb\Bundle\FileUploaderBundle\DependencyInjection\ResolverFactory;
15
16
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
17
use Symfony\Component\DependencyInjection\ContainerBuilder;
18
19
/**
20
 * ImagineResolverFactory
21
 *
22
 * @author jobou
23
 */
24
class ImagineResolverFactory implements ResolverFactoryInterface
25
{
26
    /**
27
     * {@inheritdoc}
28
     */
29
    public function getKey()
30
    {
31
        return 'imagine';
32
    }
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    public function addConfiguration(ArrayNodeDefinition $node)
38
    {
39
40
    }
41
42
    /**
43
     * {@inheritdoc}
44
     */
45
    public function create(ContainerBuilder $container, $id, array $factory)
46
    {
47
48
    }
49
}
50