HumHub Documentation (unofficial)

CachedArrayKeywords extends ArrayKeywords
in package

File initializable keywords holder.

$keywords = new Behat\Gherkin\Keywords\CachedArrayKeywords($file);

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Properties

$keywords  : mixed
$keywordString  : mixed
$language  : mixed

Methods

__construct()  : mixed
Initializes holder with file.
getAndKeywords()  : string
Returns And keywords (splitted by "|").
getBackgroundKeywords()  : string
Returns Background keywords (splitted by "|").
getButKeywords()  : string
Returns But keywords (splitted by "|").
getExamplesKeywords()  : string
Returns Examples keywords (splitted by "|").
getFeatureKeywords()  : string
Returns Feature keywords (splitted by "|").
getGivenKeywords()  : string
Returns Given keywords (splitted by "|").
getOutlineKeywords()  : string
Returns Scenario Outline keywords (splitted by "|").
getScenarioKeywords()  : string
Returns Scenario keywords (splitted by "|").
getStepKeywords()  : string
Returns all step keywords (Given, When, Then, And, But).
getThenKeywords()  : string
Returns Then keywords (splitted by "|").
getWhenKeywords()  : string
Returns When keywords (splitted by "|").
setLanguage()  : mixed
Sets keywords holder language.

Properties

Methods

__construct()

Initializes holder with file.

public __construct(string $file) : mixed
Parameters
$file : string

Cached array path

getAndKeywords()

Returns And keywords (splitted by "|").

public getAndKeywords() : string
Return values
string

getBackgroundKeywords()

Returns Background keywords (splitted by "|").

public getBackgroundKeywords() : string
Return values
string

getButKeywords()

Returns But keywords (splitted by "|").

public getButKeywords() : string
Return values
string

getExamplesKeywords()

Returns Examples keywords (splitted by "|").

public getExamplesKeywords() : string
Return values
string

getFeatureKeywords()

Returns Feature keywords (splitted by "|").

public getFeatureKeywords() : string
Return values
string

getGivenKeywords()

Returns Given keywords (splitted by "|").

public getGivenKeywords() : string
Return values
string

getOutlineKeywords()

Returns Scenario Outline keywords (splitted by "|").

public getOutlineKeywords() : string
Return values
string

getScenarioKeywords()

Returns Scenario keywords (splitted by "|").

public getScenarioKeywords() : string
Return values
string

getStepKeywords()

Returns all step keywords (Given, When, Then, And, But).

public getStepKeywords() : string
Return values
string

getThenKeywords()

Returns Then keywords (splitted by "|").

public getThenKeywords() : string
Return values
string

getWhenKeywords()

Returns When keywords (splitted by "|").

public getWhenKeywords() : string
Return values
string

setLanguage()

Sets keywords holder language.

public setLanguage(string $language) : mixed
Parameters
$language : string

Language name


        
On this page

Search results