FileEqualsTextFile
extends Constraint
in package
FinalYes
Table of Contents
Methods
- __construct() : mixed
- evaluate() : bool|null
- toString() : string
Methods
__construct()
public
__construct(SplFileInfo|string $file[, int $options = 0 ]) : mixed
Parameters
- $file : SplFileInfo|string
- $options : int = 0
-
same options as PHP's file() function
evaluate()
public
evaluate(mixed $other[, string $description = '' ][, bool $returnResult = false ]) : bool|null
Parameters
- $other : mixed
- $description : string = ''
- $returnResult : bool = false
Return values
bool|nulltoString()
public
toString() : string