protected function guessServiceClass($name) {
		try {
			$obj = $this->getContainer()->get($name);
			return gettype($obj)=='object' ? get_class($obj):gettype($obj);
		}
		catch(\Exception $e) {} #defined = ??? / class = ???
		catch(\Throwable $e) {} #defined = ??? / class = ???
	}
protected function guessServiceClass($name) {
		try {
			$obj = $this->getContainer()->get($name);
			return gettype($obj)=='object' ? get_class($obj):gettype($obj);
		}
		catch(\Exception $e) {} #defined = ??? / class = ???
		catch(\Throwable $e) {} #defined = ??? / class = ???
	}
protected function guessServiceClass ( $ name ) { try { $ obj = $ this -> getContainer ( ) -> get ( $ name ) ; return gettype ( $ obj ) == 'object' ? get_class ( $ obj ) : gettype ( $ obj ) ; } catch ( \ Exception $ e ) { } #defined = ??? / class = ??? catch ( \ Throwable $ e ) { } #defined = ??? / class = ??? }
Guess the class of a service.
@param  string $name
@return string
Guess the class of a service .