PiedWebConversationBundle   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A getContainerExtension() 0 7 2
1
<?php
2
3
namespace PiedWeb\ConversationBundle;
4
5
use PiedWeb\ConversationBundle\DependencyInjection\PiedWebConversationExtension;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
8
class PiedWebConversationBundle extends Bundle
9
{
10
    public function getContainerExtension()
11
    {
12
        if (null === $this->extension) {
13
            $this->extension = new PiedWebConversationExtension();
14
        }
15
16
        return $this->extension;
17
    }
18
}
19