public setContentType ( string $content ) : |
||
$content | string | |
Résultat |
public function setContentType($content)
{
$this->contentType = $content;
return $this;
}
public function testSetAndGetContentType() { $d = new Dom(Dom::XHTML11); $d->setContentType('text/html'); $this->assertEquals('text/html', $d->getContentType()); }