HumHub Documentation (unofficial)

Gherkin
in package
implements LoaderInterface

Table of Contents

Interfaces

LoaderInterface

Properties

$defaultSettings  : mixed
$parser  : Parser
$settings  : mixed
$steps  : mixed
$tests  : mixed

Methods

__construct()  : mixed
getPattern()  : mixed
getSteps()  : array<string|int, mixed>
getTests()  : mixed
loadTests()  : mixed
makePlaceholderPattern()  : mixed
addSteps()  : mixed
fetchGherkinSteps()  : mixed
validatePattern()  : mixed

Properties

$defaultSettings

protected static mixed $defaultSettings = ['namespace' => '', 'actor' => '', 'gherkin' => ['contexts' => ['default' => [], 'tag' => [], 'role' => []]]]

$settings

protected mixed $settings = []

Methods

__construct()

public __construct([mixed $settings = [] ]) : mixed
Parameters
$settings : mixed = []

getPattern()

public getPattern() : mixed

getSteps()

public getSteps() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTests()

public getTests() : mixed

loadTests()

public loadTests(mixed $filename) : mixed
Parameters
$filename : mixed

makePlaceholderPattern()

public makePlaceholderPattern(mixed $pattern) : mixed
Parameters
$pattern : mixed

addSteps()

protected addSteps(array<string|int, mixed> $contexts[, mixed $group = 'default' ]) : mixed
Parameters
$contexts : array<string|int, mixed>
$group : mixed = 'default'

fetchGherkinSteps()

protected fetchGherkinSteps() : mixed

validatePattern()

private validatePattern(mixed $pattern) : mixed
Parameters
$pattern : mixed

        
On this page

Search results