SnapshotService
- Full name:
\Documentation\Test\SnapshotService
Properties
SNAPSHOT_ROOT_DIRECTORY
private static $SNAPSHOT_ROOT_DIRECTORY
- This property is static.
testsDirectoryPath
private string $testsDirectoryPath
Methods
__construct
public __construct(string $testsDirectoryPath): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$testsDirectoryPath | string |
getSnapshotIdFromTitle
public getSnapshotIdFromTitle(string $title, mixed $incrementor = 1): string
Parameters:
| Parameter | Type | Description |
|---|---|---|
$title | string | |
$incrementor | mixed |
getSnapshotPathFromTitle
public getSnapshotPathFromTitle(string $title, mixed $incrementor = 1): string
Parameters:
| Parameter | Type | Description |
|---|---|---|
$title | string | |
$incrementor | mixed |