Menu

## Facade
in package

Facade.php : 41

### Table of Contents

$phpUnitVersion : string
$project : Project
$target : string
__construct() : mixed
process() : void
documentAsString() : string
initTargetDirectory() : void
processDirectory() : void
processFile() : void
processFunction() : void
processTests() : void
processUnit() : void
saveDocument() : void
setBuildInformation() : void
setTotals() : void
targetDirectory() : string

### Properties

#### $phpUnitVersion

Facade.php : 56
`private string $phpUnitVersion`

#### $project

Facade.php : 51
`private Project $project`

#### $target

Facade.php : 46
`private string $target`

### Methods

#### __construct()

Facade.php : 58
`public __construct(string $version) : mixed`

##### Parameters

$version : string

##### Return values

mixed —

#### process()

Facade.php : 66
`public process(CodeCoverage $coverage, string $target) : void`

##### Parameters

$coverage : CodeCoverage
$target : string

##### Tags

throws
  XmlException

##### Return values

void —

#### documentAsString()

Facade.php : 295
`private documentAsString(DOMDocument $document) : string`

##### Parameters

$document : DOMDocument

##### Tags

throws
  XmlException
see
  https://bugs.php.net/bug.php?id=79191

##### Return values

string —

#### initTargetDirectory()

Facade.php : 100
`private initTargetDirectory(string $directory) : void`

##### Parameters

$directory : string

##### Tags

throws
  PathExistsButIsNotDirectoryException
throws
  WriteOperationFailedException

##### Return values

void —

#### processDirectory()

Facade.php : 118
`private processDirectory(Directory $directory, Node $context) : void`

##### Parameters

$directory : Directory
$context : Node

##### Tags

throws
  XmlException

##### Return values

void —

#### processFile()

Facade.php : 142
`private processFile(File $file, Directory $context) : void`

##### Parameters

$file : File
$context : Directory

##### Tags

throws
  XmlException

##### Return values

void —

#### processFunction()

Facade.php : 219
`private processFunction(array<string|int, mixed> $function, Report $report) : void`

##### Parameters

$function : array<string|int, mixed>
$report : Report

##### Return values

void —

#### processTests()

Facade.php : 229
`private processTests(array<string|int, mixed> $tests) : void`

##### Parameters

$tests : array<string|int, mixed>

##### Return values

void —

#### processUnit()

Facade.php : 189
`private processUnit(array<string|int, mixed> $unit, Report $report) : void`

##### Parameters

$unit : array<string|int, mixed>
$report : Report

##### Return values

void —

#### saveDocument()

Facade.php : 279
`private saveDocument(DOMDocument $document, string $name) : void`

##### Parameters

$document : DOMDocument
$name : string

##### Tags

throws
  XmlException

##### Return values

void —

#### setBuildInformation()

Facade.php : 88
`private setBuildInformation() : void`

##### Return values

void —

#### setTotals()

Facade.php : 238
`private setTotals(AbstractNode $node, Totals $totals) : void`

##### Parameters

$node : AbstractNode
$totals : Totals

##### Return values

void —

#### targetDirectory()

Facade.php : 271
`private targetDirectory() : string`

##### Return values

string —

## Search results