public function load($source, $contentType, $options = []) { if (FALSE !== ($json = $this->getJson($source, $contentType))) { $dom = new Document('1.0', 'UTF-8'); $this->transferTo($dom, $json); return $dom; } return NULL; }