protected function initReflection($id) {
		$normalizedId = ucfirst($id);

		$classname  = $this->dirForEachService ? $normalizedId : '';
		$classname .= $this->classPrefix . $normalizedId . $this->classPostfix;

		foreach ($this->namespaces as $namespace) {
			$class = $namespace . '\\' . $classname;

			try {
				return new ReflectionClass($class);
			} catch (ReflectionException $e) {}
		}
	}
protected function initReflection($id) {
		$normalizedId = ucfirst($id);

		$classname  = $this->dirForEachService ? $normalizedId : '';
		$classname .= $this->classPrefix . $normalizedId . $this->classPostfix;

		foreach ($this->namespaces as $namespace) {
			$class = $namespace . '\\' . $classname;

			try {
				return new ReflectionClass($class);
			} catch (ReflectionException $e) {}
		}
	}
protected function initReflection ( $ id ) { $ normalizedId = ucfirst ( $ id ) ; $ classname = $ this -> dirForEachService ? $ normalizedId : '' ; $ classname .= $ this -> classPrefix . $ normalizedId . $ this -> classPostfix ; foreach ( $ this -> namespaces as $ namespace ) { $ class = $ namespace . '\\' . $ classname ; try { return new ReflectionClass ( $ class ) ; } catch ( ReflectionException $ e ) { } } }
Initialize class reflection by ID

@param string $id
Initialize class reflection by ID