PHP 클래스 Kurt\Google\Analytics\Period

파일 보기 프로젝트 열기: ozankurt/google-analytics 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$endDate Carbon\Carbon Starting date of the period.
$startDate Carbon\Carbon Starting date of the period.

공개 메소드들

메소드 설명
__construct ( Carbon\Carbon $startDate, Carbon\Carbon $endDate )
getEndDate ( ) : Carbon\Carbon Gets the Starting date of the period.
getStartDate ( ) : Carbon\Carbon Gets the Starting date of the period.
setEndDate ( Carbon\Carbon $endDate ) : self Sets the Starting date of the period.
setStartDate ( Carbon\Carbon $startDate ) : self Sets the Starting date of the period.
validatePeriod ( Carbon\Carbon $startDate = null, Carbon\Carbon $endDate = null )

메소드 상세

__construct() 공개 메소드

public __construct ( Carbon\Carbon $startDate, Carbon\Carbon $endDate )
$startDate Carbon\Carbon
$endDate Carbon\Carbon

getEndDate() 공개 메소드

Gets the Starting date of the period.
public getEndDate ( ) : Carbon\Carbon
리턴 Carbon\Carbon

getStartDate() 공개 메소드

Gets the Starting date of the period.
public getStartDate ( ) : Carbon\Carbon
리턴 Carbon\Carbon

setEndDate() 공개 메소드

Sets the Starting date of the period.
public setEndDate ( Carbon\Carbon $endDate ) : self
$endDate Carbon\Carbon
리턴 self

setStartDate() 공개 메소드

Sets the Starting date of the period.
public setStartDate ( Carbon\Carbon $startDate ) : self
$startDate Carbon\Carbon
리턴 self

validatePeriod() 공개 메소드

public validatePeriod ( Carbon\Carbon $startDate = null, Carbon\Carbon $endDate = null )
$startDate Carbon\Carbon
$endDate Carbon\Carbon

프로퍼티 상세

$endDate 공개적으로 프로퍼티

Starting date of the period.
public Carbon,Carbon $endDate
리턴 Carbon\Carbon

$startDate 공개적으로 프로퍼티

Starting date of the period.
public Carbon,Carbon $startDate
리턴 Carbon\Carbon