PHP 클래스 Arcanedev\SeoHelper\Entities\Webmasters

저자: ARCANEDEV ([email protected])
상속: implements Arcanedev\SeoHelper\Contracts\Entities\Webmasters, use trait Arcanedev\Support\Traits\Configurable
파일 보기 프로젝트 열기: arcanedev/seo-helper

보호된 프로퍼티들

프로퍼티 타입 설명
$metas Arcanedev\SeoHelper\Contracts\Entities\MetaCollection The meta collection.
$supported array The supported webmasters.

공개 메소드들

메소드 설명
__construct ( array $configs = [] ) Create Webmasters instance.
__toString ( ) : string Render the tag.
add ( string $webmaster, string $content ) : Webmasters Add a webmaster to collection.
make ( array $webmasters = [] ) : Webmasters Make Webmaster instance.
render ( ) : string Render the tag.
reset ( ) : Webmasters Reset the webmaster collection.

비공개 메소드들

메소드 설명
getWebmasterName ( string $webmaster ) : string Get the webmaster meta name.
init ( ) Start the engine.
isSupported ( string $webmaster ) : boolean Check if the webmaster is supported.

메소드 상세

__construct() 공개 메소드

Create Webmasters instance.
public __construct ( array $configs = [] )
$configs array

__toString() 공개 메소드

Render the tag.
public __toString ( ) : string
리턴 string

add() 공개 메소드

Add a webmaster to collection.
public add ( string $webmaster, string $content ) : Webmasters
$webmaster string
$content string
리턴 Webmasters

make() 공개 정적인 메소드

Make Webmaster instance.
public static make ( array $webmasters = [] ) : Webmasters
$webmasters array
리턴 Webmasters

render() 공개 메소드

Render the tag.
public render ( ) : string
리턴 string

reset() 공개 메소드

Reset the webmaster collection.
public reset ( ) : Webmasters
리턴 Webmasters

프로퍼티 상세

$metas 보호되어 있는 프로퍼티

The meta collection.
protected MetaCollection,Arcanedev\SeoHelper\Contracts\Entities $metas
리턴 Arcanedev\SeoHelper\Contracts\Entities\MetaCollection

$supported 보호되어 있는 프로퍼티

The supported webmasters.
protected array $supported
리턴 array