PHP 인터페이스 Arcanedev\SeoHelper\Contracts\SeoTwitter

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

공개 메소드들

메소드 설명
addImage ( string $url ) : self Add image to the card.
addMeta ( string $name, string $content ) : self Add a meta to the twitter card.
addMetas ( array $metas ) : self Add many metas to the card.
disable ( ) : self Disable the Twitter Card.
enable ( ) : self Enable the Twitter Card.
isDisabled ( ) : boolean Check if the Twitter Card is disabled.
isEnabled ( ) : boolean Check if the Twitter Card is enabled.
reset ( ) : self Reset the twitter card.
setCard ( Arcanedev\SeoHelper\Contracts\Entities\TwitterCard $card ) : self Set the twitter card instance.
setDescription ( string $description ) : self Set the card description.
setSite ( string $site ) : self Set the card site.
setTitle ( string $title ) : self Set the card title.
setType ( string $type ) : self Set the card type.

메소드 상세

addImage() 공개 메소드

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

addMeta() 공개 메소드

Add a meta to the twitter 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

disable() 공개 메소드

Disable the Twitter Card.
public disable ( ) : self
리턴 self

enable() 공개 메소드

Enable the Twitter Card.
public enable ( ) : self
리턴 self

isDisabled() 공개 메소드

Check if the Twitter Card is disabled.
public isDisabled ( ) : boolean
리턴 boolean

isEnabled() 공개 메소드

Check if the Twitter Card is enabled.
public isEnabled ( ) : boolean
리턴 boolean

reset() 공개 메소드

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

setCard() 공개 메소드

Set the twitter card instance.
public setCard ( Arcanedev\SeoHelper\Contracts\Entities\TwitterCard $card ) : self
$card Arcanedev\SeoHelper\Contracts\Entities\TwitterCard
리턴 self

setDescription() 공개 메소드

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

setSite() 공개 메소드

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

setTitle() 공개 메소드

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

setType() 공개 메소드

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