PHP Class Webiny\Component\TwitterOAuth\TwitterOAuthLoader

Use this class to get an instance of TwitterOAuth component.
Inheritance: use trait Webiny\Component\StdLib\StdLibTrait, use trait Webiny\Component\Http\HttpTrait
ファイルを表示 Open project: Webiny/Framework Class Usage Examples

Public Methods

Method Description
getInstance ( string $key ) : array | TwitterOAuth Returns an instance to TwitterOAuth server based on the current configuration.

Method Details

getInstance() public static method

Returns an instance to TwitterOAuth server based on the current configuration.
public static getInstance ( string $key ) : array | TwitterOAuth
$key string Unique identifier for the TwitterOAuth server that you wish to get.
return array | TwitterOAuth