src/Context/SQLHandler.php
private function checkForKeyword($value)
    {
        if (! isset($_SESSION['behat']['GenesisSqlExtension']['keywords'])) {
            return $value;
        }

        foreach ($_SESSION['behat']['GenesisSqlExtension']['keywords'] as $keyword => $val) {
            $key = sprintf('{%s}', $keyword);

            if ($value == $key) {
                $value = str_replace($key, $val, $value);
            }
        }

        return $value;
    }
private function checkForKeyword($value)
    {
        if (! isset($_SESSION['behat']['GenesisSqlExtension']['keywords'])) {
            return $value;
        }

        foreach ($_SESSION['behat']['GenesisSqlExtension']['keywords'] as $keyword => $val) {
            $key = sprintf('{%s}', $keyword);

            if ($value == $key) {
                $value = str_replace($key, $val, $value);
            }
        }

        return $value;
    }
private function checkForKeyword ( $ value ) { if ( ! isset ( $ _SESSION [ 'behat' ] [ 'GenesisSqlExtension' ] [ 'keywords' ] ) ) { return $ value ; } foreach ( $ _SESSION [ 'behat' ] [ 'GenesisSqlExtension' ] [ 'keywords' ] as $ keyword => $ val ) { $ key = sprintf ( '{%s}' , $ keyword ) ; if ( $ value == $ key ) { $ value = str_replace ( $ key , $ val , $ value ) ; } } return $ value ; }
Checks the value for possible keywords set in behat.yml file.
Checks the value for possible keywords set in behat . yml file .