We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e95cf41 + abcd991 commit 7c1792eCopy full SHA for 7c1792e
packages/guides/src/RenderContext.php
@@ -82,6 +82,17 @@ public function withDocument(DocumentNode $documentNode): self
82
)->withIterator($this->getIterator());
83
}
84
85
+ public function getDocument(): DocumentNode
86
+ {
87
+ return $this->document;
88
+ }
89
+
90
+ /** @return DocumentNode[] */
91
+ public function getAllDocuments(): array
92
93
+ return $this->allDocuments;
94
95
96
public function withIterator(Renderer\DocumentListIterator $iterator): self
97
{
98
$that = clone $this;
0 commit comments