public function __construct($config, $accessToken, UserDb $userDb) { parent::__construct($config, $accessToken); $this->userDb = $userDb; }
/** * @param TalkDb $talkDb */ public function __construct($config, $accessToken, TalkDb $talkDb, UserApi $userApi) { parent::__construct($config, $accessToken); $this->talkDb = $talkDb; $this->userApi = $userApi; }
public function __construct($config, $accessToken, EventDb $eventDb, UserApi $userApi) { parent::__construct($config, $accessToken); $this->eventDb = $eventDb; $this->userApi = $userApi; }
public function __construct($config, $accessToken) { parent::__construct($config, $accessToken); }