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

TranslatableWrapper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

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 28
	public function getLocales()
17
	{
18 28
		return $this->_getLocales();
19
	}
20
21
}
22