PHP 클래스 Rubenwouters\CrmLauncher\Updates\UpdateStatistics

파일 보기 프로젝트 열기: rubenwouters/crm-launcher

보호된 프로퍼티들

프로퍼티 타입 설명
$config Rubenwouters\CrmLauncher\Models\Configuration
$contact Rubenwouters\CrmLauncher\Models\Contact
$facebookContent Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent
$log Rubenwouters\CrmLauncher\Models\Contact
$publishment Rubenwouters\CrmLauncher\Models\Publishment
$twitterContent Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent

공개 메소드들

메소드 설명
__construct ( Log $log, Configuration $config, Contact $contact, Publishment $publishment, FetchTwitterContent $twitterContent, FetchFacebookContent $facebookContent )
updateFacebookDashboardStats ( ) : void Update config file with likes
updateFbStats ( ) : void Update stats in DB
updateTwitterDashboardStats ( ) : void Update config file with followers
updateTwitterStats ( ) : void Update stats in DB (like count & retweet count)

메소드 상세

__construct() 공개 메소드

public __construct ( Log $log, Configuration $config, Contact $contact, Publishment $publishment, FetchTwitterContent $twitterContent, FetchFacebookContent $facebookContent )
$log Rubenwouters\CrmLauncher\Models\Log
$config Rubenwouters\CrmLauncher\Models\Configuration
$contact Rubenwouters\CrmLauncher\Models\Contact
$publishment Rubenwouters\CrmLauncher\Models\Publishment
$twitterContent Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent
$facebookContent Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent

updateFacebookDashboardStats() 공개 메소드

Update config file with likes
public updateFacebookDashboardStats ( ) : void
리턴 void

updateFbStats() 공개 메소드

Update stats in DB
public updateFbStats ( ) : void
리턴 void

updateTwitterDashboardStats() 공개 메소드

Update config file with followers
public updateTwitterDashboardStats ( ) : void
리턴 void

updateTwitterStats() 공개 메소드

Update stats in DB (like count & retweet count)
public updateTwitterStats ( ) : void
리턴 void

프로퍼티 상세

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

protected Configuration,Rubenwouters\CrmLauncher\Models $config
리턴 Rubenwouters\CrmLauncher\Models\Configuration

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

protected Contact,Rubenwouters\CrmLauncher\Models $contact
리턴 Rubenwouters\CrmLauncher\Models\Contact

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

protected FetchFacebookContent,Rubenwouters\CrmLauncher\ApiCalls $facebookContent
리턴 Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent

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

protected Contact,Rubenwouters\CrmLauncher\Models $log
리턴 Rubenwouters\CrmLauncher\Models\Contact

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

protected Publishment,Rubenwouters\CrmLauncher\Models $publishment
리턴 Rubenwouters\CrmLauncher\Models\Publishment

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

protected FetchTwitterContent,Rubenwouters\CrmLauncher\ApiCalls $twitterContent
리턴 Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent