HumHub Documentation (unofficial)

Scenario
in package
uses DispatcherWrapper

Table of Contents

Properties

$feature  : string
$metadata  : Metadata
$metaStep  : mixed
$steps  : array<string|int, mixed>
$test  : TestInterface

Methods

__call()  : mixed
__construct()  : mixed
Constructor
addStep()  : mixed
comment()  : mixed
current()  : mixed
getFeature()  : mixed
getGroups()  : mixed
getHtml()  : mixed
getMetaStep()  : Meta
getSteps()  : array<string|int, mixed>
Returns the steps of this scenario.
getText()  : mixed
incomplete()  : mixed
runStep()  : mixed
setFeature()  : mixed
setMetaStep()  : mixed
skip()  : mixed
dispatch()  : mixed
Compatibility wrapper for dispatcher change between Symfony 4 and 5

Properties

$steps

protected array<string|int, mixed> $steps = []

Methods

__call()

public __call(mixed $method, mixed $args) : mixed
Parameters
$method : mixed
$args : mixed

comment()

public comment(mixed $comment) : mixed
Parameters
$comment : mixed

current()

public current(mixed $key) : mixed
Parameters
$key : mixed

getFeature()

public getFeature() : mixed

getSteps()

Returns the steps of this scenario.

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

incomplete()

public incomplete([mixed $message = '' ]) : mixed
Parameters
$message : mixed = ''

setFeature()

public setFeature(mixed $feature) : mixed
Parameters
$feature : mixed

setMetaStep()

public setMetaStep(Meta $metaStep) : mixed
Parameters
$metaStep : Meta

skip()

public skip([mixed $message = '' ]) : mixed
Parameters
$message : mixed = ''

dispatch()

Compatibility wrapper for dispatcher change between Symfony 4 and 5

protected dispatch(EventDispatcher $dispatcher, string $eventType, Event $eventObject) : mixed
Parameters
$dispatcher : EventDispatcher
$eventType : string
$eventObject : Event

        
On this page

Search results