Completed
Push — master ( 750af5...855623 )
by Propa
04:20
created

TranslatableWrapper::getLocales()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
cc 1
eloc 2
nc 1
nop 0
crap 1
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 28
	public function getLocales()
17
	{
18 28
		return $this->_getLocales();
19
	}
20
21
}
22