danog\PhpDoc\PhpDocBuilder
Author: Daniil Gentili daniil@daniil.it
PHP documentation builder.
fromNamespace(string $namespace): self
setAuthors(\phpDocumentor\Reflection\DocBlock\Tags\Author[] $authors): self
setMode(int $mode): self
setFilter(callable $ignore): self
setOutput(string $output): self
setName(string $name): self
setDescription(string $description): self
setImage(string $image): self
addFrontMatter(string $key, string $value): self
addIndexFrontMatter(string $key, string $value): self
run(): self
fromNamespace(string $namespace): self
Create docblock builder.
Parameters:
$namespace
: string
Namespace (defaults to package namespace)setAuthors(\phpDocumentor\Reflection\DocBlock\Tags\Author[] $authors): self
Set authors.
Parameters:
$authors
: \phpDocumentor\Reflection\DocBlock\Tags\Author[]
Authors\phpDocumentor\Reflection\DocBlock\Tags\Author
setMode(int $mode): self
Set scan mode.
Parameters:
$mode
: int
Scan mode.setFilter(callable $ignore): self
Set filter to ignore certain classes.
Parameters:
$ignore
: callable
callable(class-string)
setOutput(string $output): self
Set output directory.
Parameters:
$output
: string
Output directorysetName(string $name): self
Set project name.
Parameters:
$name
: string
NamesetDescription(string $description): self
Set project description.
Parameters:
$description
: string
Project descriptionsetImage(string $image): self
Set project image.
Parameters:
$image
: string
Project imageaddFrontMatter(string $key, string $value): self
Add Jekyll front matter.
Parameters:
$key
: string
Key$value
: string
ValueaddIndexFrontMatter(string $key, string $value): self
Add Jekyll index front matter.
Parameters:
$key
: string
Key$value
: string
Valuerun(): self
Run documentation builder.
Generated by danog/phpdoc