PHP 클래스 Arcanedev\SeoHelper\Entities\Analytics

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

보호된 프로퍼티들

프로퍼티 타입 설명
$google string Google Analytics code.

공개 메소드들

메소드 설명
__construct ( array $configs = [] ) Make an Analytics instance.
__toString ( ) : string Render the tag.
render ( ) : string Render the tag.
setGoogle ( string $code ) : Analytics Set Google Analytics code.

보호된 메소드들

메소드 설명
renderGoogleScript ( ) : string Render the Google Analytics tracking script.

메소드 상세

__construct() 공개 메소드

Make an Analytics instance.
public __construct ( array $configs = [] )
$configs array

__toString() 공개 메소드

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

render() 공개 메소드

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

renderGoogleScript() 보호된 메소드

Render the Google Analytics tracking script.
protected renderGoogleScript ( ) : string
리턴 string

setGoogle() 공개 메소드

Set Google Analytics code.
public setGoogle ( string $code ) : Analytics
$code string
리턴 Analytics

프로퍼티 상세

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

Google Analytics code.
protected string $google
리턴 string