Completed
Push — master ( 06888d...4aa348 )
by Propa
01:56
created

TranslatableWrapper::getLocales()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace Propaganistas\LaravelTranslatableBootForms\Translatable;
2
3
use Dimsav\Translatable\Translatable;
4
5
class TranslatableWrapper {
6
7
	use Translatable {
8
		Translatable::getLocales as _getLocales;
9
	}
10
11
	/**
12
	 * @return array
13
	 *
14
	 * @throws \Dimsav\Translatable\Exception\LocalesNotDefinedException
15
	 */
16
	public function getLocales()
17
	{
18
		return $this->_getLocales();
19
	}
20
21
}
22