Apple_Actions\API_Action::set_api PHP Method

set_api() public method

Set the instance of the API class.
public set_api ( API $api )
$api Apple_Push_API\API
    public function set_api($api)
    {
        $this->api = $api;
    }