PHP 인터페이스 Arcanedev\SeoHelper\Contracts\Entities\TwitterCard

저자: ARCANEDEV ([email protected])
상속: extends Arcanedev\SeoHelper\Contracts\Renderable
파일 보기 프로젝트 열기: arcanedev/seo-helper 0 사용 예제들

공개 메소드들

메소드 설명
addImage ( string $url ) : self Add image to the card.
addMeta ( string $name, string $content ) : self Add a meta to the card.
addMetas ( array $metas ) : self Add many metas to the card.
reset ( ) : self Reset the card.
setDescription ( string $description ) : self Set card description.
setSite ( string $site ) : self Set card site.
setTitle ( string $title ) : self Set card title.
setType ( string $type ) : self Set the card type.
types ( ) : array Get all supported card types.

메소드 상세

addImage() 공개 메소드

Add image to the card.
public addImage ( string $url ) : self
$url string
리턴 self

addMeta() 공개 메소드

Add a meta to the card.
public addMeta ( string $name, string $content ) : self
$name string
$content string
리턴 self

addMetas() 공개 메소드

Add many metas to the card.
public addMetas ( array $metas ) : self
$metas array
리턴 self

reset() 공개 메소드

Reset the card.
public reset ( ) : self
리턴 self

setDescription() 공개 메소드

Set card description.
public setDescription ( string $description ) : self
$description string
리턴 self

setSite() 공개 메소드

Set card site.
public setSite ( string $site ) : self
$site string
리턴 self

setTitle() 공개 메소드

Set card title.
public setTitle ( string $title ) : self
$title string
리턴 self

setType() 공개 메소드

Set the card type.
public setType ( string $type ) : self
$type string
리턴 self

types() 공개 메소드

Get all supported card types.
public types ( ) : array
리턴 array