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

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

공개 메소드들

메소드 설명
add ( string $name, string $content ) : self Add a meta tag.
addMany ( array $metas ) : self Add many meta tags.
getUrl ( ) : string Get the current URL.
make ( array $defaults = [] ) : self Make MiscTags instance.
remove ( array | string $names ) : self Remove a meta from the meta collection by key.
reset ( ) : self Reset the meta collection.
setUrl ( string $url ) : self Set the current URL.

메소드 상세

add() 공개 메소드

Add a meta tag.
public add ( string $name, string $content ) : self
$name string
$content string
리턴 self

addMany() 공개 메소드

Add many meta tags.
public addMany ( array $metas ) : self
$metas array
리턴 self

getUrl() 공개 메소드

Get the current URL.
public getUrl ( ) : string
리턴 string

make() 공개 정적인 메소드

Make MiscTags instance.
public static make ( array $defaults = [] ) : self
$defaults array
리턴 self

remove() 공개 메소드

Remove a meta from the meta collection by key.
public remove ( array | string $names ) : self
$names array | string
리턴 self

reset() 공개 메소드

Reset the meta collection.
public reset ( ) : self
리턴 self

setUrl() 공개 메소드

Set the current URL.
public setUrl ( string $url ) : self
$url string
리턴 self