PHP Class Apple_Actions\API_Action

Inheritance: extends Action
Show file Open project: alleyinteractive/apple-news Class Usage Examples

Public Methods

Method Description
set_api ( API $api ) Set the instance of the API class.

Protected Methods

Method Description
get_api ( ) : API Get the instance of the API class.
is_api_configuration_valid ( ) : boolean Check if the API configuration is valid.

Private Methods

Method Description
fetch_credentials ( ) : Apple_Push_API\Credentials Fetch the current API credentials.

Method Details

get_api() protected method

Get the instance of the API class.
protected get_api ( ) : API
return Apple_Push_API\API

is_api_configuration_valid() protected method

Check if the API configuration is valid.
protected is_api_configuration_valid ( ) : boolean
return boolean

set_api() public method

Set the instance of the API class.
public set_api ( API $api )
$api Apple_Push_API\API