public function getSubspacePath($type) { $subspace = $this->mapType($type); return str_replace('\\', DS, $subspace); }