classes-Tecnickcom-TCPDF-Tests-TestExecutor

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Table of Contents

$cliExtensionOptions  : string
$cliOptions  : string
$extensionsToLoad  : array<string|int, string>
$pdfTools  : PdfTools
$phpExecutor  : PhpExecutor
$tempDir  : string
$testsDir  : string
$verbose  : bool
__construct()  : mixed
assertIsFileType()  : bool
assertIsPhpValidFile()  : bool
execute()  : bool
extensionsToLoad()  : array<string|int, string>
getPhpCliOptions()  : string
getPhpExtensionCliOptions()  : string
isPdfFile()  : bool

Properties

$cliExtensionOptions

private string $cliExtensionOptions = null

$extensionsToLoad

private array<string|int, string> $extensionsToLoad

Methods

__construct()

public __construct(PhpExecutor $phpExecutor, array<string|int, mixed> $extensionsToLoad, PdfTools $pdfTools, string $tempDir, string $testsDir[, bool $verbose = false ]) : mixed
Parameters
$phpExecutor : PhpExecutor
$extensionsToLoad : array<string|int, mixed>
$pdfTools : PdfTools
$tempDir : string

Path to tho temporary folder

$testsDir : string

Path to this folder

$verbose : bool = false
Return values
mixed

assertIsFileType()

public assertIsFileType(string $outputFile, string $outputFileError, string $type, bool $preservingFiles) : bool
Parameters
$outputFile : string

Path to output file

$outputFileError : string

Path to error file

$type : string

Expected type of output

$preservingFiles : bool
Return values
bool

assertIsPhpValidFile()

public assertIsPhpValidFile(string $file) : bool
Parameters
$file : string
Return values
bool

execute()

public execute(string $file, string $outputFile, string $outputFileError) : bool
Parameters
$file : string

Path of PHP file to execute

$outputFile : string

Path to output file

$outputFileError : string

Path to output file error

Return values
bool

TRUE if successful, FALSE otherwise

extensionsToLoad()

private extensionsToLoad() : array<string|int, string>
Return values
array<string|int, string>

getPhpCliOptions()

private getPhpCliOptions() : string
Return values
string

getPhpExtensionCliOptions()

private getPhpExtensionCliOptions() : string
Return values
string

isPdfFile()

private isPdfFile(string $outputFile) : bool
Parameters
$outputFile : string

Path to output file

Return values
bool
 

© 2004-2022 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy