setType() 공개 메소드

public setType ( string $type ) : Artesaos\SEOTools\Contracts\TwitterCards
$type string
리턴 Artesaos\SEOTools\Contracts\TwitterCards
예제 #1
0
 public function test_set_type()
 {
     $this->twitterCards->setType('sayajin');
     $expected = '<meta name="twitter:type" content="sayajin" />';
     $this->setRightAssertion($expected);
 }