PHP 클래스 Rubenwouters\CrmLauncher\Models\Log

상속: extends Illuminate\Database\Eloquent\Model
파일 보기 프로젝트 열기: rubenwouters/crm-launcher 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$table string table name

공개 메소드들

메소드 설명
scopeDashboardUpdate ( $query )
scopeLatestLog ( $query, $type ) * |-------------------------------------------------------------------------- | Scopes |-------------------------------------------------------------------------- | | Relationships of Log model |
secondsago ( $type ) : integer Check seconds between previous API call & now
updateLog ( string $type ) : void Updates logs to keep track of API rate limits

메소드 상세

scopeDashboardUpdate() 공개 메소드

public scopeDashboardUpdate ( $query )

scopeLatestLog() 공개 메소드

* |-------------------------------------------------------------------------- | Scopes |-------------------------------------------------------------------------- | | Relationships of Log model |
public scopeLatestLog ( $query, $type )

secondsago() 공개 메소드

Check seconds between previous API call & now
public secondsago ( $type ) : integer
리턴 integer

updateLog() 공개 메소드

Updates logs to keep track of API rate limits
public updateLog ( string $type ) : void
$type string
리턴 void

프로퍼티 상세

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

table name
protected string $table
리턴 string