public function getTypeRenderer($type) { return isset($this->types[$type]) ? $this->types[$type] : $this->types[strtolower($type)]; }