Table of Contents
Properties
-
$allDocuments
: array<string|int, DocumentNode>
-
$currentFileName
: string|null
-
$destination
: FilesystemInterface
-
$destinationPath
: string
-
$document
: DocumentNode
-
$iterator
: DocumentListIterator
-
$origin
: FilesystemInterface
-
$outputFilePath
: string
-
$outputFormat
: string
-
$projectNode
: ProjectNode
Methods
-
forDocument()
: self
-
forProject()
: self
-
getAllDocuments()
: array<string|int, DocumentNode>
-
getCurrentDocumentEntry()
: DocumentEntryNode|null
-
getCurrentFileName()
: string
-
getCurrentFileRootline()
: array<string|int, string>
-
getDestination()
: FilesystemInterface
-
getDestinationPath()
: string
-
getDirName()
: string
-
getDocument()
: DocumentNode
-
getDocumentNodeForEntry()
: DocumentNode
-
getIterator()
: DocumentListIterator
-
getLink()
: string
-
getLoggerInformation()
: array<string, string|null>
-
getOrigin()
: FilesystemInterface
-
getOutputFilePath()
: string
-
getOutputFormat()
: string
-
getProjectNode()
: ProjectNode
-
getRootDocumentNode()
: DocumentNode
-
getVariable()
: mixed
-
hasCurrentFileName()
: bool
-
withDocument()
: self
-
withIterator()
: self
-
withOutputFilePath()
: RenderContext
-
__construct()
: mixed
$allDocuments
private
array<string|int, DocumentNode>
$allDocuments
$currentFileName
read-only
private
string|null
$currentFileName
$destination
read-only
private
FilesystemInterface
$destination
$destinationPath
read-only
private
string
$destinationPath
$document
private
DocumentNode
$document
$iterator
private
DocumentListIterator
$iterator
$origin
read-only
private
FilesystemInterface
$origin
$outputFilePath
private
string
$outputFilePath
= ''
private
string
$outputFormat
$projectNode
read-only
private
ProjectNode
$projectNode
forDocument()
public
static forDocument(DocumentNode $documentNode, array<string|int, DocumentNode> $allDocumentNodes, FilesystemInterface $origin, FilesystemInterface $destination, string $destinationPath, string $ouputFormat, ProjectNode $projectNode) : self
Parameters
-
$documentNode
: DocumentNode
-
-
$allDocumentNodes
: array<string|int, DocumentNode>
-
-
$origin
: FilesystemInterface
-
-
$destination
: FilesystemInterface
-
-
$destinationPath
: string
-
-
$ouputFormat
: string
-
-
$projectNode
: ProjectNode
-
forProject()
public
static forProject(ProjectNode $projectNode, array<string|int, DocumentNode> $allDocumentNodes, FilesystemInterface $origin, FilesystemInterface $destination, string $destinationPath, string $ouputFormat) : self
Parameters
-
$projectNode
: ProjectNode
-
-
$allDocumentNodes
: array<string|int, DocumentNode>
-
-
$origin
: FilesystemInterface
-
-
$destination
: FilesystemInterface
-
-
$destinationPath
: string
-
-
$ouputFormat
: string
-
getAllDocuments()
public
getAllDocuments() : array<string|int, DocumentNode>
getCurrentDocumentEntry()
public
getCurrentDocumentEntry() : DocumentEntryNode|null
getCurrentFileName()
public
getCurrentFileName() : string
getCurrentFileRootline()
public
getCurrentFileRootline() : array<string|int, string>
Return values
array<string|int, string>
getDestination()
public
getDestination() : FilesystemInterface
Return values
FilesystemInterface
getDestinationPath()
public
getDestinationPath() : string
getDirName()
public
getDirName() : string
getDocument()
public
getDocument() : DocumentNode
getDocumentNodeForEntry()
public
getDocumentNodeForEntry(DocumentEntryNode $entryNode) : DocumentNode
Parameters
-
$entryNode
: DocumentEntryNode
-
getIterator()
public
getIterator() : DocumentListIterator
getLink()
public
getLink(string $name) : string
Parameters
-
$name
: string
-
public
getLoggerInformation() : array<string, string|null>
Return values
array<string, string|null>
getOrigin()
public
getOrigin() : FilesystemInterface
Return values
FilesystemInterface
getOutputFilePath()
public
getOutputFilePath() : string
public
getOutputFormat() : string
getProjectNode()
public
getProjectNode() : ProjectNode
getRootDocumentNode()
public
getRootDocumentNode() : DocumentNode
getVariable()
public
getVariable(string $variable[, TType $default = null ]) : mixed
Parameters
-
$variable
: string
-
-
$default
: TType
= null
-
-
phpstan-return
-
hasCurrentFileName()
public
hasCurrentFileName() : bool
withDocument()
public
withDocument(DocumentNode $documentNode) : self
Parameters
-
$documentNode
: DocumentNode
-
withIterator()
public
withIterator(DocumentListIterator $iterator) : self
Parameters
-
$iterator
: DocumentListIterator
-
withOutputFilePath()
public
withOutputFilePath(string $outputFilePath) : RenderContext
Parameters
-
$outputFilePath
: string
-
__construct()
private
__construct(string $destinationPath, string|null $currentFileName, FilesystemInterface $origin, FilesystemInterface $destination, string $outputFormat, ProjectNode $projectNode) : mixed
Parameters
-
$destinationPath
: string
-
-
$currentFileName
: string|null
-
-
$origin
: FilesystemInterface
-
-
$destination
: FilesystemInterface
-
-
$outputFormat
: string
-
-
$projectNode
: ProjectNode
-