Completed
Pull Request — master (#24)
by Pavlo
02:25
created

Dictionary   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDictionary() 0 19 1
1
<?php
2
namespace samsoncms\app\user;
3
4
use samsonphp\i18n\IDictionary;
5
6
class Dictionary implements IDictionary
7
{
8
    public function getDictionary()
9
    {
10
        return array(
11
            "en" => array(
12
                "Пользователи системы" => 'Users',
13
                "Пользователи" => 'Users',
14
                "Пользователь" => 'User'
15
            ),
16
            "ru" => array(
17
                "Пользователи системы" => '',
18
                "Пользователи" => ''
19
            ),
20
            "ua" => array(
21
                "Пользователи системы" => 'Користувачі',
22
                "Пользователи" => 'Користувачі',
23
                "Пользователь" => 'Користувач'
24
            ),
25
        );
26
    }
27
}
28