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
$feature
protected
string
$feature
$metadata
protected
Metadata
$metadata
$metaStep
protected
mixed
$metaStep
$steps
protected
array<string|int, mixed>
$steps
= []
$test
protected
TestInterface
$test
Methods
__call()
public
__call(mixed $method, mixed $args) : mixed
Parameters
- $method : mixed
- $args : mixed
__construct()
Constructor
public
__construct(TestInterface $test) : mixed
Parameters
- $test : TestInterface
addStep()
public
addStep(Step $step) : mixed
Parameters
- $step : Step
comment()
public
comment(mixed $comment) : mixed
Parameters
- $comment : mixed
current()
public
current(mixed $key) : mixed
Parameters
- $key : mixed
getFeature()
public
getFeature() : mixed
getGroups()
public
getGroups() : mixed
getHtml()
public
getHtml() : mixed
getMetaStep()
public
getMetaStep() : Meta
Return values
MetagetSteps()
Returns the steps of this scenario.
public
getSteps() : array<string|int, mixed>
Return values
array<string|int, mixed>getText()
public
getText() : mixed
incomplete()
public
incomplete([mixed $message = '' ]) : mixed
Parameters
- $message : mixed = ''
runStep()
public
runStep(Step $step) : mixed
Parameters
- $step : Step
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