ProjectSettings
in package
FinalYes
Table of Contents
Properties
- $automaticMenu : bool
- $copyright : string
- $defaultCodeLanguage : string
- $excludes : Exclude
- $failOnError : LogLevel::*|null
- $ignoredDomains : string[]
- $indexName : string
- $input : string
- $inputFile : string
- $inputFormat : string
- $inventories : array<string, string>
- $linksRelative : bool
- $logPath : string
- $maxMenuDepth : int
- $output : string
- $outputFormats : string[]
- $release : string
- $showProgressBar : bool
- $theme : string
- $title : string
- $version : string
- $violationFile : string|null
- $violationFormat : string|null
Methods
- __construct() : mixed
- getCopyright() : string
- getDefaultCodeLanguage() : string
- getExcludes() : Exclude
- getFailOnError() : LogLevel::*
- getIgnoredDomains() : string[]
- getIndexName() : string
- getInput() : string
- getInputFile() : string
- getInputFormat() : string
- getInventories() : array<string, string>
- getLogPath() : string
- getMaxMenuDepth() : int
- getOutput() : string
- getOutputFormats() : string[]
- getRelease() : string
- getTheme() : string
- getTitle() : string
- getVersion() : string
- getViolationFile() : string|null
- File to write the report of the violation format to, for formats that write a file, like "gitlab". Each format has its own default.
- getViolationFormat() : string|null
- Format to report the problems found in the documentation source in, in addition to the log, like "github" for annotations in GitHub Actions or "gitlab" for the code quality report of GitLab CI
- isAutomaticMenu() : bool
- isFailOnError() : bool
- isLinksRelative() : bool
- isShowProgressBar() : bool
- setAutomaticMenu() : ProjectSettings
- setCopyright() : void
- setDefaultCodeLanguage() : void
- setExcludes() : void
- setFailOnError() : void
- setIgnoredDomains() : void
- setIndexName() : ProjectSettings
- setInput() : void
- setInputFile() : void
- setInputFormat() : void
- setInventories() : void
- setLinksRelative() : void
- setLogPath() : void
- setMaxMenuDepth() : ProjectSettings
- setOutput() : void
- setOutputFormats() : void
- setRelease() : void
- setShowProgressBar() : void
- setTheme() : void
- setTitle() : void
- setVersion() : void
- setViolationFile() : void
- setViolationFormat() : void
Properties
$automaticMenu
private
bool
$automaticMenu
= false
$copyright
private
string
$copyright
= ''
$defaultCodeLanguage
private
string
$defaultCodeLanguage
= ''
$excludes
private
Exclude
$excludes
$failOnError
private
LogLevel::*|null
$failOnError
= null
$ignoredDomains
private
string[]
$ignoredDomains
= []
$indexName
private
string
$indexName
= 'index,Index'
$input
private
string
$input
= 'docs'
$inputFile
private
string
$inputFile
= ''
$inputFormat
private
string
$inputFormat
= 'rst'
$inventories
private
array<string, string>
$inventories
= []
$linksRelative
private
bool
$linksRelative
= false
$logPath
private
string
$logPath
= 'php://stder'
$maxMenuDepth
private
int
$maxMenuDepth
= 0
$output
private
string
$output
= 'output'
$outputFormats
private
string[]
$outputFormats
= ['html']
$release
private
string
$release
= ''
$showProgressBar
private
bool
$showProgressBar
= true
$theme
private
string
$theme
= 'default'
$title
private
string
$title
= ''
$version
private
string
$version
= ''
$violationFile
private
string|null
$violationFile
= null
$violationFormat
private
string|null
$violationFormat
= null
Methods
__construct()
public
__construct() : mixed
getCopyright()
public
getCopyright() : string
Return values
stringgetDefaultCodeLanguage()
public
getDefaultCodeLanguage() : string
Return values
stringgetExcludes()
public
getExcludes() : Exclude
Return values
ExcludegetFailOnError()
public
getFailOnError() : LogLevel::*
Return values
LogLevel::*getIgnoredDomains()
public
getIgnoredDomains() : string[]
Return values
string[]getIndexName()
public
getIndexName() : string
Return values
stringgetInput()
public
getInput() : string
Return values
stringgetInputFile()
public
getInputFile() : string
Return values
stringgetInputFormat()
public
getInputFormat() : string
Return values
stringgetInventories()
public
getInventories() : array<string, string>
Return values
array<string, string>getLogPath()
public
getLogPath() : string
Return values
stringgetMaxMenuDepth()
public
getMaxMenuDepth() : int
Return values
intgetOutput()
public
getOutput() : string
Return values
stringgetOutputFormats()
public
getOutputFormats() : string[]
Return values
string[]getRelease()
public
getRelease() : string
Return values
stringgetTheme()
public
getTheme() : string
Return values
stringgetTitle()
public
getTitle() : string
Return values
stringgetVersion()
public
getVersion() : string
Return values
stringgetViolationFile()
File to write the report of the violation format to, for formats that write a file, like "gitlab". Each format has its own default.
public
getViolationFile() : string|null
Return values
string|nullgetViolationFormat()
Format to report the problems found in the documentation source in, in addition to the log, like "github" for annotations in GitHub Actions or "gitlab" for the code quality report of GitLab CI
public
getViolationFormat() : string|null
Return values
string|nullisAutomaticMenu()
public
isAutomaticMenu() : bool
Return values
boolisFailOnError()
public
isFailOnError() : bool
Return values
boolisLinksRelative()
public
isLinksRelative() : bool
Return values
boolisShowProgressBar()
public
isShowProgressBar() : bool
Return values
boolsetAutomaticMenu()
public
setAutomaticMenu(bool $automaticMenu) : ProjectSettings
Parameters
- $automaticMenu : bool
Return values
ProjectSettingssetCopyright()
public
setCopyright(string $copyright) : void
Parameters
- $copyright : string
setDefaultCodeLanguage()
public
setDefaultCodeLanguage(string $defaultCodeLanguage) : void
Parameters
- $defaultCodeLanguage : string
setExcludes()
public
setExcludes(Exclude $exclude) : void
Parameters
- $exclude : Exclude
setFailOnError()
public
setFailOnError(LogLevel::* $logLevel) : void
Parameters
- $logLevel : LogLevel::*
setIgnoredDomains()
public
setIgnoredDomains(string[] $ignoredDomains) : void
Parameters
- $ignoredDomains : string[]
setIndexName()
public
setIndexName(string $indexName) : ProjectSettings
Parameters
- $indexName : string
Return values
ProjectSettingssetInput()
public
setInput(string $input) : void
Parameters
- $input : string
setInputFile()
public
setInputFile(string $inputFile) : void
Parameters
- $inputFile : string
setInputFormat()
public
setInputFormat(string $inputFormat) : void
Parameters
- $inputFormat : string
setInventories()
public
setInventories(array<string, string> $inventories) : void
Parameters
- $inventories : array<string, string>
setLinksRelative()
public
setLinksRelative(bool $linksRelative) : void
Parameters
- $linksRelative : bool
setLogPath()
public
setLogPath(string $logPath) : void
Parameters
- $logPath : string
setMaxMenuDepth()
public
setMaxMenuDepth(int $maxMenuDepth) : ProjectSettings
Parameters
- $maxMenuDepth : int
Return values
ProjectSettingssetOutput()
public
setOutput(string $output) : void
Parameters
- $output : string
setOutputFormats()
public
setOutputFormats(string[] $outputFormats) : void
Parameters
- $outputFormats : string[]
setRelease()
public
setRelease(string $release) : void
Parameters
- $release : string
setShowProgressBar()
public
setShowProgressBar(bool $showProgressBar) : void
Parameters
- $showProgressBar : bool
setTheme()
public
setTheme(string $theme) : void
Parameters
- $theme : string
setTitle()
public
setTitle(string $title) : void
Parameters
- $title : string
setVersion()
public
setVersion(string $version) : void
Parameters
- $version : string
setViolationFile()
public
setViolationFile(string|null $violationFile) : void
Parameters
- $violationFile : string|null
setViolationFormat()
public
setViolationFormat(string|null $violationFormat) : void
Parameters
- $violationFormat : string|null