address() public static method

Generates an address block.
public static address ( $text, array $htmlOptions = [] ) : string
$text
$htmlOptions array additional HTML attributes.
return string the generated block.
Ejemplo n.º 1
0
 public function testAddress()
 {
     $I = $this->codeGuy;
     $html = TbHtml::address('Address text');
     $addr = $I->createNode($html, 'address');
     $I->seeNodeText($addr, 'Address text');
 }