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

TranslatableWrapper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 17
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getLocales() 0 4 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
	public function getLocales()
17
	{
18
		return $this->_getLocales();
19
	}
20
21
}
22