public function getComposer() {
		if (null === $this->composer) {
			
			$this->configureEnv();
			
			if ($this->outputBufferedJs) {
				$this->io = new MoufJsComposerIO();
			} else {
				$this->io = new BufferIO();
			}
			$this->composer = Factory::create($this->io, null, true);
		}
		return $this->composer;
	}