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;
	}
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;
	}
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 ; }
Resolve template path.

@param string $path
@return string
Resolve template path .