Skip to main content

AbstractPrinter


  • Full name: \Documentation\Generator\UsagePage\Printer\AbstractPrinter
  • This class is an Abstract class

Properties

configuration

protected \Documentation\Generator\Configuration $configuration

testConfig

protected \Documentation\Test\Config $testConfig

pagePath

protected string $pagePath

pageExists

protected bool $pageExists

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