예제 #1
0
파일: Head.php 프로젝트: Nycto/Round-Eights
 public function testDocType()
 {
     $head = new \r8\HTML\Head();
     $this->assertEquals(\r8\HTML\DocType::NONE(), $head->getDocType());
     $doctype = \r8\HTML\DocType::HTML5();
     $this->assertSame($head, $head->setDocType($doctype));
     $this->assertSame($doctype, $head->getDocType());
 }
예제 #2
0
파일: Head.php 프로젝트: Nycto/Round-Eights
 /**
  * Constructor...
  */
 public function __construct()
 {
     $this->docType = \r8\HTML\DocType::NONE();
 }