Total Complexity | 5 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class Scripts extends AbstractDatabase |
||
9 | { |
||
10 | /** |
||
11 | * @return string |
||
12 | */ |
||
13 | public static function getISONumber() |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * @param array $entry |
||
20 | * |
||
21 | * @return Script |
||
22 | */ |
||
23 | protected function arrayToEntry(array $entry) |
||
29 | ); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return array |
||
34 | */ |
||
35 | protected function getIndexDefinition() |
||
40 | ]; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @param string $alpha4 |
||
45 | * |
||
46 | * @return null|Script |
||
47 | */ |
||
48 | public function getByAlpha4($alpha4) |
||
49 | { |
||
50 | return $this->find('alpha_4', $alpha4); |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @param int $code |
||
55 | * |
||
56 | * @return null|Script |
||
57 | */ |
||
58 | public function getByNumericCode($code) |
||
61 | } |
||
62 | } |
||
63 |