BcOfficialApiService
in package
implements
BcOfficialApiServiceInterface
interface BcOfficialApiService
Table of Contents
Interfaces
- BcOfficialApiServiceInterface
- interface BcOfficialApiServiceInterface
Constants
- CLIENT_TIMEOUT : mixed = 5
- 外部取得に使う HTTP クライアントのタイムアウト(秒)
- FAILURE_RETRY_INTERVAL : mixed = 600
- 取得失敗後に再取得を試みるまでの秒数
Methods
- getRss() : array<string|int, mixed>|mixed
- RSS情報を取得する
- createClient() : Client
- 外部取得に使う HTTP クライアントを生成する
Constants
CLIENT_TIMEOUT
外部取得に使う HTTP クライアントのタイムアウト(秒)
public
mixed
CLIENT_TIMEOUT
= 5
FAILURE_RETRY_INTERVAL
取得失敗後に再取得を試みるまでの秒数
public
mixed
FAILURE_RETRY_INTERVAL
= 600
Methods
getRss()
RSS情報を取得する
public
getRss(string $rssName) : array<string|int, mixed>|mixed
Parameters
- $rssName : string
Tags
Return values
array<string|int, mixed>|mixedcreateClient()
外部取得に使う HTTP クライアントを生成する
protected
createClient() : Client