generate() публичный Метод

public generate ( boolean $minify = false ) : string
$minify boolean
Результат string
Пример #1
0
 /**
  * @param $expectedString
  */
 protected function setRightAssertion($expectedString)
 {
     $expectedDom = $this->makeDomDocument($expectedString);
     $actualDom = $this->makeDomDocument($this->twitterCards->generate());
     $this->assertEquals($expectedDom->C14N(), $actualDom->C14N());
 }