Skip to main content

HeadPrinter


Properties​

WEBSITE_PATH​

private static $WEBSITE_PATH
  • This property is static.

HTML_CODE_PATH​

private static $HTML_CODE_PATH
  • This property is static.

CODE_TEMPLATE​

private static $CODE_TEMPLATE
  • This property is static.

Methods​

getPageContent​

public getPageContent(): string

shouldWriteHead​

private shouldWriteHead(): mixed

getHtmlCodeRelativePath​

private getHtmlCodeRelativePath(): mixed

normalizePath​

Normalize path

public normalizePath(string $path, string $separator = '\/'): string

Parameters:

ParameterTypeDescription
$pathstring
$separatorstring

Return Value:

normalized path


Inherited methods​

getPageContent​

public getPageContent(): string
  • This method is abstract.

__construct​

public __construct(\Documentation\Generator\Configuration $configuration, \Documentation\Test\Config $documentationTestConfig, string $pagePath, bool $pageExists): mixed

Parameters:

ParameterTypeDescription
$configuration\Documentation\Generator\Configuration
$documentationTestConfig\Documentation\Test\Config
$pagePathstring
$pageExistsbool

pageExists​

protected pageExists(): mixed