public function getCompileHandlerByContentType($type) { if (isset($this->handlerByType[strtolower($type)])) { return $this->container->get($this->handlerByType[strtolower($type)]); } }