src/Settings.php
public function getPath($serviceName)
    {
        if (in_array($serviceName, $this->services)) {
            return str_replace('_', '/', $serviceName);
        } else {
            $services = implode(', ', $this->services);
            throw new \Exception("Service \"{$serviceName}\" is not one of: {$services}");
        }
    }
public function getPath($serviceName)
    {
        if (in_array($serviceName, $this->services)) {
            return str_replace('_', '/', $serviceName);
        } else {
            $services = implode(', ', $this->services);
            throw new \Exception("Service \"{$serviceName}\" is not one of: {$services}");
        }
    }
public function getPath ( $ serviceName ) { if ( in_array ( $ serviceName , $ this -> services ) ) { return str_replace ( '_' , '/' , $ serviceName ) ; } else { $ services = implode ( ', ' , $ this -> services ) ; throw new \ Exception ( "Service \"{$serviceName}\" is not one of: {$services}" ) ; } }
Gets the path of a service.

@param string $serviceName

@return string
Gets the path of a service .