Passed
Push — master ( 3c74da...895b59 )
by Anthony
01:52
created

Globals   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBaseBundlePath() 0 6 1
1
<?php
2
3
namespace Ribs\RibsAdminBundle\Service;
4
5
class Globals
6
{
7
	/**
8
	 * @return string
9
	 */
10
	public function getBaseBundlePath(): string
11
	{
12
		$path = explode("/", __DIR__);
13
		array_pop($path);
14
		
15
		return implode("/", $path);
16
	}
17
}