Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Moodle\BehatExtension\Context\ContextClass\ClassResolver Class Reference
Inheritance diagram for Moodle\BehatExtension\Context\ContextClass\ClassResolver:

Public Member Functions

 __construct ($parameters)
 Constructor for ClassResolver class.
 
 resolveClass ($contextclass)
 Resolves context class.
 
 supportsClass ($contextstring)
 Checks if resolvers supports provided class.
 

Constructor & Destructor Documentation

◆ __construct()

Moodle\BehatExtension\Context\ContextClass\ClassResolver::__construct ( $parameters)

Constructor for ClassResolver class.

Parameters
array$parameterslist of params provided to moodle.

Member Function Documentation

◆ resolveClass()

Moodle\BehatExtension\Context\ContextClass\ClassResolver::resolveClass ( $contextclass)

Resolves context class.

Parameters
string$contextclass
Return values
stringcontext class.

◆ supportsClass()

Moodle\BehatExtension\Context\ContextClass\ClassResolver::supportsClass ( $contextstring)

Checks if resolvers supports provided class.

Moodle behat context class starts with behat_

Parameters
string$contextstring
Return values
Boolean

The documentation for this class was generated from the following file: