Completed
Pull Request — master (#1)
by Gorka
04:16
created

Translatable::__call()   A

Complexity

Conditions 4
Paths 6

Size

Total Lines 16
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 9.2
c 0
b 0
f 0
cc 4
eloc 9
nc 6
nop 2
1
<?php
2
3
/*
4
 * This file is part of the CMS Kernel library.
5
 *
6
 * Copyright (c) 2016 LIN3S <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace LIN3S\CMSKernel\Domain\Model\Translation;
13
14
/**
15
 * @author Gorka Laucirica <[email protected]>
16
 */
17
interface Translatable
18
{
19
    public function translations();
20
21
    public function addTranslation(Translation $translation);
22
23
    public function removeTranslation(Locale $locale);
24
}
25