Source for file index.php
Documentation is available at index.php
require '../Services/Apns/Client/Message.php';
/* Creates new Message client instance */
/* Set the authorized certificate provided by Apple */
$client->setSslCertificateFilePath (dirname(__FILE__ ) . '/aps_developer_identity.pem');
/* Defining the password phrase specified in the Provisioning Portal */
$client->setPasswordPhrase ('My top secret password!');
/* Setting the default ENV */
/* Creating a new message */
$message->setBody ('This is a simple test!');
$result = $client->sendMessage ($message);
Documentation generated on Mon, 11 Mar 2019 15:53:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|