Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Behat
Behat
Context
CustomSnippetAcceptingContext
PHP Interface Behat\Behat\Context\CustomSnippetAcceptingContext
See also:
ContextSnippetGenerator
Deprecation:
will be removed in 4.0. Use --snippets-for and --snippets-type CLI options instead
Author:
Konstantin Kudryashov (
[email protected]
)
Inheritance:
extends
SnippetAcceptingContext
Show file
Open project: behat/behat
Public Methods
Method
Description
getAcceptedSnippetType
( ) :
string
Returns type of the snippets that this context accepts.
Method Details
getAcceptedSnippetType()
public
static
method
Behat implements a couple of types by default: "regex" and "turnip"
public
static
getAcceptedSnippetType
( ) :
string
return
string