DocumentationSetDescriptor

in package

Properties

protected$name  : string                

protected$source  : (\phpDocumentor\Dsn|\phpDocumentor\Descriptor\list<string>)[]                

phpstan-var

array{dsn?: Dsn, paths?: list}

protected$output  : string                

Methods

publicgetName() : string

Returns

string

Returns the source location for this set of documentation.

publicgetSource() : (\phpDocumentor\Dsn|\phpDocumentor\Descriptor\list)[]

The returned array contains an element 'dsn' (of type DSN) and 'paths'; where each path represents one part of the documentation set relative to the DSN.

Returns

(\phpDocumentor\Dsn|\phpDocumentor\Descriptor\list)[]
todo:

should the source location be included in a Descriptor? This couples it to the file system upon which it was ran and makes it uncacheable. But should this be cached? In any case, I need it for the RenderGuide writer at the moment; so refactor this once that becomes clearer.

phpstan-return

array{dsn?: Dsn, paths?: list}

publicgetOutput() : string

Returns

string