Completed
Push — master ( b711ee...3ef19c )
by Propa
14:04
created

TranslatableWrapper::getLocales()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
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