src/Behat/Gherkin/Keywords/KeywordsDumper.php
public function dumpKeywords(array $keywords, $isShort)
    {
        if ($isShort) {
            return 1 < count($keywords) ? '(' . implode('|', $keywords) . ')' : $keywords[0];
        }

        return $keywords[0];
    }
public function dumpKeywords(array $keywords, $isShort)
    {
        if ($isShort) {
            return 1 < count($keywords) ? '(' . implode('|', $keywords) . ')' : $keywords[0];
        }

        return $keywords[0];
    }
public function dumpKeywords ( array $ keywords , $ isShort ) { if ( $ isShort ) { return 1 < count ( $ keywords ) ? '(' . implode ( '|' , $ keywords ) . ')' : $ keywords [ 0 ] ; } return $ keywords [ 0 ] ; }
Defaults keywords dumper.

@param array   $keywords Keywords list
@param Boolean $isShort  Is short version

@return string
Defaults keywords dumper .