original_string: protected function resolveTemplatePath($path) {
  		switch ($path[0]) {
  		case '/':
  			break;
  		case '.':
  			$path = realpath(dirname($this->template) . '/' . $path . '.phtml');
  			break;
  		default:
  			$path = realpath($this->pathService->getTemplatesPath() . '/' . $path . '.phtml');
  			break;
  		}
  
  		if ($path === false) {
  			throw new NotFoundException($this->template . ' file not found');
  		}
  
  		return $path;
  	}
code: protected function resolveTemplatePath($path) {
  		switch ($path[0]) {
  		case '/':
  			break;
  		case '.':
  			$path = realpath(dirname($this->template) . '/' . $path . '.phtml');
  			break;
  		default:
  			$path = realpath($this->pathService->getTemplatesPath() . '/' . $path . '.phtml');
  			break;
  		}
  
  		if ($path === false) {
  			throw new NotFoundException($this->template . ' file not found');
  		}
  
  		return $path;
  	}
code_tokens: protected function resolveTemplatePath ( $ path ) { switch ( $ path [ 0 ] ) { case '/' : break ; case '.' : $ path = realpath ( dirname ( $ this -> template ) . '/' . $ path . '.phtml' ) ; break ; default : $ path = realpath ( $ this -> pathService -> getTemplatesPath ( ) . '/' . $ path . '.phtml' ) ; break ; } if ( $ path === false ) { throw new NotFoundException ( $ this -> template . ' file not found' ) ; } return $ path ; }
docstring: Resolve template path.
  
  @param string $path
  @return string
docstring_tokens: Resolve template path .