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

Globals::getBaseBundlePath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
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
}