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

Translatable

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
translations() 0 1 ?
addTranslation() 0 1 ?
removeTranslation() 0 1 ?
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