| Total Complexity | 7 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class I18n |
||
| 22 | { |
||
| 23 | private $container; |
||
| 24 | private $i18n = array(); |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Initializes the object |
||
| 29 | * |
||
| 30 | * @param ContainerInterface $container Dependency container |
||
| 31 | */ |
||
| 32 | public function __construct( ContainerInterface $container ) |
||
| 33 | { |
||
| 34 | $this->container = $container; |
||
| 35 | } |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * Creates new translation objects. |
||
| 40 | * |
||
| 41 | * @param array $languageIds List of two letter ISO language IDs |
||
| 42 | * @return \Aimeos\MW\Translation\Iface[] List of translation objects |
||
| 43 | */ |
||
| 44 | public function get( array $languageIds ) : array |
||
| 68 | } |
||
| 69 | } |