Passed
Push — master ( b4cb9f...51bac7 )
by Anthony
02:22
created

Globals   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBaseBundlePath() 0 6 1
1
<?php
2
3
namespace PiouPiou\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
}