TranslatableEntityTranslation   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 16
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTitle() 0 4 1
A setTitle() 0 4 1
1
<?php
2
3
namespace Sonata\TranslationBundle\Tests\Functional\Fixtures\Model\Knplabs;
4
5
use Knp\DoctrineBehaviors\Model;
6
7
class TranslatableEntityTranslation
8
{
9
    use Model\Translatable\Translation;
10
11
    private $title;
12
13
    public function getTitle()
14
    {
15
        return $this->title;
16
    }
17
18
    public function setTitle($title): void
19
    {
20
        $this->title = $title;
21
    }
22
}
23