mutedSpan() public static méthode

Generates a muted span.
public static mutedSpan ( string $text, array $htmlOptions = [] ) : string
$text string the text.
$htmlOptions array additional HTML attributes.
Résultat string the generated span.
 public function testMutedSpan()
 {
     $I = $this->codeGuy;
     $html = TbHtml::mutedSpan('Muted text');
     $span = $I->createNode($html, 'span.muted');
     $I->seeNodeText($span, 'Muted text');
 }