$parser
$parser : \phpDocumentor\Parser\Parser
Parses a single file into a FileDescriptor and adds it to the given ProjectBuilder.
$parser : \phpDocumentor\Parser\Parser
__construct(\phpDocumentor\Parser\Parser $parser)
Registers the Parser object to get settings from.
\phpDocumentor\Parser\Parser | $parser |
parse(string $filename, \phpDocumentor\Descriptor\ProjectDescriptorBuilder $builder) : void
Parses the file identified by the given filename and passes the resulting FileDescriptor to the ProjectBuilder.
string | $filename | |
\phpDocumentor\Descriptor\ProjectDescriptorBuilder | $builder |
createFileReflector(\phpDocumentor\Descriptor\ProjectDescriptorBuilder $builder, string $filename) : \phpDocumentor\Reflection\FileReflector|null
Creates a new FileReflector for the given filename or null if the file contains no modifications.
\phpDocumentor\Descriptor\ProjectDescriptorBuilder | $builder | |
string | $filename |
Returns a new FileReflector or null if no modifications were detected for the given filename.
logErrorsForDescriptor(\phpDocumentor\Descriptor\FileDescriptor $fileDescriptor) : void
Writes the errors found in the Descriptor to the log.
\phpDocumentor\Descriptor\FileDescriptor | $fileDescriptor |
log(string $message, string $priority = \Psr\Log\LogLevel::INFO, array<mixed,string> $parameters = array()) : void
Dispatches a logging request.
string | $message | The message to log. |
string | $priority | The logging priority as declared in the LogLevel PSR-3 class. |
array<mixed,string> | $parameters |