HumHub Documentation (unofficial)

ScenarioInterface extends ScenarioLikeInterface, TaggedNodeInterface

Gherkin scenario interface.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Methods

getKeyword()  : string
Returns node keyword.
getLine()  : int
Returns feature declaration line number.
getNodeType()  : string
Returns node type string
getSteps()  : array<string|int, StepNode>
Returns container steps.
getTags()  : array<string|int, string>
Returns node tags (including inherited from feature).
getTitle()  : null|string
Returns node title.
hasSteps()  : bool
Checks if container has steps.
hasTag()  : bool
Checks if node is tagged with tag.
hasTags()  : bool
Checks if node has tags (both inherited from feature and own).

Methods

getLine()

Returns feature declaration line number.

public getLine() : int
Return values
int

getNodeType()

Returns node type string

public getNodeType() : string
Return values
string

getTags()

Returns node tags (including inherited from feature).

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

getTitle()

Returns node title.

public getTitle() : null|string
Return values
null|string

hasTag()

Checks if node is tagged with tag.

public hasTag(string $tag) : bool
Parameters
$tag : string
Return values
bool

hasTags()

Checks if node has tags (both inherited from feature and own).

public hasTags() : bool
Return values
bool

        
On this page

Search results