public function getRenderer() {
		if ($this->renderer === null) {
			if (php_sapi_name() === 'cli') {
				$this->renderer = new RendererCli();
				$this->renderer->setHelpersBroker(new CliHelperBrocker());
				
				return $this->renderer;
			}
			
			$this->renderer = new RendererHtml();
			$this->renderer->setAssetsPath(__DIR__ . DIRECTORY_SEPARATOR . 'Assets');
		}
		
		return $this->renderer;
	}