public function display(Document $document, array $criteria = []) { return $document->getViewer()->getDocumentByArray($criteria); }