| Total Complexity | 6 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 7 | class Globals |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var ContainerInterface |
||
| 11 | */ |
||
| 12 | private $container; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Globals constructor. |
||
| 16 | * @param ContainerInterface $container |
||
| 17 | */ |
||
| 18 | public function __construct(ContainerInterface $container) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * this method send path on dev mode to correct write package name |
||
| 25 | * @param string $package |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | private function getPackageDevName(string $package) { |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * this method send base bundle path related to ribs-admin |
||
| 43 | * @param string|null $package |
||
| 44 | * @param bool $dev_mode |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getBaseBundlePath(string $package = "piou-piou/ribs-admin-bundle", bool $dev_mode = false): string |
||
| 62 |