public function get($contentType)
{
$contentType = $this->normalizeContentType($contentType);
if (isset($this->_list[$contentType])) {
if (!$this->_list[$contentType] instanceof Loadable) {
$this->_list[$contentType] = call_user_func($this->_list[$contentType]);
}
if (!$this->_list[$contentType] instanceof Loadable) {
unset($this->_list[$contentType]);
throw new \UnexpectedValueException(sprintf('Lazy loader for content type "%s" did not return a FluentDOM\\Loadable', $contentType));
}
return $this->_list[$contentType];
}
return FALSE;
}