doc
1 year ago
lib
2 months ago
tests
1 year ago
.coveralls.yml
1 year ago
.git
1 year ago
.gitignore
1 year ago
.travis.yml
1 year ago
LICENSE.txt
1 year ago
README.md
1 year ago
build.php
1 year ago
composer.json
1 year ago
init.php
5 months ago
overview.md
1 year ago
phpunit.no_autoload.xml
1 year ago
phpunit.xml
1 year ago
release.php
1 year ago
test
1 year ago
init.php
106 lines
| 1 | <?php |
| 2 | |
| 3 | // WonderPush\Util |
| 4 | if (!interface_exists('WonderPush\Util\JsonSerializable')) require(dirname(__FILE__) . '/lib/Util/JsonSerializable.php'); |
| 5 | if (!interface_exists('WonderPush\Util\Logger')) require(dirname(__FILE__) . '/lib/Util/Logger.php'); |
| 6 | if (!class_exists('WonderPush\Util\DefaultLogger')) require(dirname(__FILE__) . '/lib/Util/DefaultLogger.php'); |
| 7 | if (!class_exists('WonderPush\Util\ArrayUtil')) require(dirname(__FILE__) . '/lib/Util/ArrayUtil.php'); |
| 8 | if (!class_exists('WonderPush\Util\StringUtil')) require(dirname(__FILE__) . '/lib/Util/StringUtil.php'); |
| 9 | if (!class_exists('WonderPush\Util\TimeUnit')) require(dirname(__FILE__) . '/lib/Util/TimeUnit.php'); |
| 10 | if (!class_exists('WonderPush\Util\TimeUtil')) require(dirname(__FILE__) . '/lib/Util/TimeUtil.php'); |
| 11 | if (!class_exists('WonderPush\Util\TimeValue')) require(dirname(__FILE__) . '/lib/Util/TimeValue.php'); |
| 12 | if (!class_exists('WonderPush\Util\UrlUtil')) require(dirname(__FILE__) . '/lib/Util/UrlUtil.php'); |
| 13 | |
| 14 | // WonderPush |
| 15 | if (!class_exists('WonderPush\WonderPush')) require(dirname(__FILE__) . '/lib/WonderPush.php'); |
| 16 | |
| 17 | // WonderPush\Obj |
| 18 | if (!class_exists('WonderPush\Obj\BaseObject')) require(dirname(__FILE__) . '/lib/Obj/BaseObject.php'); |
| 19 | if (!class_exists('WonderPush\Obj\SuccessResponse')) require(dirname(__FILE__) . '/lib/Obj/SuccessResponse.php'); |
| 20 | if (!class_exists('WonderPush\Obj\CampaignSuccessResponse')) require(dirname(__FILE__) . '/lib/Obj/CampaignSuccessResponse.php'); |
| 21 | if (!class_exists('WonderPush\Obj\DeliveriesCreateResponse')) require(dirname(__FILE__) . '/lib/Obj/DeliveriesCreateResponse.php'); |
| 22 | if (!class_exists('WonderPush\Obj\Pagination')) require(dirname(__FILE__) . '/lib/Obj/Pagination.php'); |
| 23 | if (!class_exists('WonderPush\Obj\NullObject')) require(dirname(__FILE__) . '/lib/Obj/NullObject.php'); |
| 24 | if (!class_exists('WonderPush\Obj\Application')) require(dirname(__FILE__) . '/lib/Obj/Application.php'); |
| 25 | if (!class_exists('WonderPush\Obj\ApplicationBrevoContactSync')) require(dirname(__FILE__) . '/lib/Obj/ApplicationBrevoContactSync.php'); |
| 26 | if (!class_exists('WonderPush\Obj\Segment')) require(dirname(__FILE__) . '/lib/Obj/Segment.php'); |
| 27 | if (!class_exists('WonderPush\Obj\GeoLocation')) require(dirname(__FILE__) . '/lib/Obj/GeoLocation.php'); |
| 28 | if (!class_exists('WonderPush\Obj\User')) require(dirname(__FILE__) . '/lib/Obj/User.php'); |
| 29 | if (!class_exists('WonderPush\Obj\Collection')) require(dirname(__FILE__) . '/lib/Obj/Collection.php'); |
| 30 | if (!class_exists('WonderPush\Obj\CampaignCollection')) require(dirname(__FILE__) . '/lib/Obj/CampaignCollection.php'); |
| 31 | if (!class_exists('WonderPush\Obj\ApplicationCollection')) require(dirname(__FILE__) . '/lib/Obj/ApplicationCollection.php'); |
| 32 | if (!class_exists('WonderPush\Obj\SegmentCollection')) require(dirname(__FILE__) . '/lib/Obj/SegmentCollection.php'); |
| 33 | if (!class_exists('WonderPush\Obj\Installation')) require(dirname(__FILE__) . '/lib/Obj/Installation.php'); |
| 34 | if (!class_exists('WonderPush\Obj\InstallationCollection')) require(dirname(__FILE__) . '/lib/Obj/InstallationCollection.php'); |
| 35 | if (!class_exists('WonderPush\Obj\InstallationApplicationApple')) require(dirname(__FILE__) . '/lib/Obj/InstallationApplicationApple.php'); |
| 36 | if (!class_exists('WonderPush\Obj\InstallationApplication')) require(dirname(__FILE__) . '/lib/Obj/InstallationApplication.php'); |
| 37 | if (!class_exists('WonderPush\Obj\InstallationDeviceCapabilities')) require(dirname(__FILE__) . '/lib/Obj/InstallationDeviceCapabilities.php'); |
| 38 | if (!class_exists('WonderPush\Obj\InstallationDeviceConfiguration')) require(dirname(__FILE__) . '/lib/Obj/InstallationDeviceConfiguration.php'); |
| 39 | if (!class_exists('WonderPush\Obj\InstallationDevice')) require(dirname(__FILE__) . '/lib/Obj/InstallationDevice.php'); |
| 40 | if (!class_exists('WonderPush\Obj\InstallationPreferences')) require(dirname(__FILE__) . '/lib/Obj/InstallationPreferences.php'); |
| 41 | if (!class_exists('WonderPush\Obj\InstallationPushToken')) require(dirname(__FILE__) . '/lib/Obj/InstallationPushToken.php'); |
| 42 | if (!class_exists('WonderPush\Obj\Event')) require(dirname(__FILE__) . '/lib/Obj/Event.php'); |
| 43 | if (!class_exists('WonderPush\Obj\FrequentFieldValues')) require(dirname(__FILE__) . '/lib/Obj/FrequentFieldValues.php'); |
| 44 | if (!class_exists('WonderPush\Obj\NotificationButton')) require(dirname(__FILE__) . '/lib/Obj/NotificationButton.php'); |
| 45 | if (!class_exists('WonderPush\Obj\NotificationButtonAction')) require(dirname(__FILE__) . '/lib/Obj/NotificationButtonAction.php'); |
| 46 | if (!class_exists('WonderPush\Obj\NotificationButtonActionEvent')) require(dirname(__FILE__) . '/lib/Obj/NotificationButtonActionEvent.php'); |
| 47 | if (!class_exists('WonderPush\Obj\Notification')) require(dirname(__FILE__) . '/lib/Obj/Notification.php'); |
| 48 | if (!class_exists('WonderPush\Obj\NotificationAlert')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlert.php'); |
| 49 | if (!class_exists('WonderPush\Obj\NotificationAlertAndroid')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlertAndroid.php'); |
| 50 | if (!class_exists('WonderPush\Obj\NotificationAlertAndroidButton')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlertAndroidButton.php'); |
| 51 | if (!class_exists('WonderPush\Obj\NotificationAlertIos')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlertIos.php'); |
| 52 | if (!class_exists('WonderPush\Obj\NotificationAlertIosAttachment')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlertIosAttachment.php'); |
| 53 | if (!class_exists('WonderPush\Obj\NotificationAlertIosForeground')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlertIosForeground.php'); |
| 54 | if (!class_exists('WonderPush\Obj\NotificationAlertWeb')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlertWeb.php'); |
| 55 | if (!class_exists('WonderPush\Obj\NotificationAlertWebButton')) require(dirname(__FILE__) . '/lib/Obj/NotificationAlertWebButton.php'); |
| 56 | if (!class_exists('WonderPush\Obj\NotificationInApp')) require(dirname(__FILE__) . '/lib/Obj/NotificationInApp.php'); |
| 57 | if (!class_exists('WonderPush\Obj\NotificationInAppButton')) require(dirname(__FILE__) . '/lib/Obj/NotificationInAppButton.php'); |
| 58 | if (!class_exists('WonderPush\Obj\NotificationInAppMap')) require(dirname(__FILE__) . '/lib/Obj/NotificationInAppMap.php'); |
| 59 | if (!class_exists('WonderPush\Obj\NotificationInAppMapPlace')) require(dirname(__FILE__) . '/lib/Obj/NotificationInAppMapPlace.php'); |
| 60 | if (!class_exists('WonderPush\Obj\NotificationPush')) require(dirname(__FILE__) . '/lib/Obj/NotificationPush.php'); |
| 61 | if (!class_exists('WonderPush\Obj\NotificationPushAndroid')) require(dirname(__FILE__) . '/lib/Obj/NotificationPushAndroid.php'); |
| 62 | if (!class_exists('WonderPush\Obj\NotificationPushIos')) require(dirname(__FILE__) . '/lib/Obj/NotificationPushIos.php'); |
| 63 | if (!class_exists('WonderPush\Obj\NotificationPushWeb')) require(dirname(__FILE__) . '/lib/Obj/NotificationPushWeb.php'); |
| 64 | if (!class_exists('WonderPush\Obj\Campaign')) require(dirname(__FILE__) . '/lib/Obj/Campaign.php'); |
| 65 | if (!class_exists('WonderPush\Obj\CampaignSchedule')) require(dirname(__FILE__) . '/lib/Obj/CampaignSchedule.php'); |
| 66 | if (!class_exists('WonderPush\Obj\CampaignSchedulePressure')) require(dirname(__FILE__) . '/lib/Obj/CampaignSchedulePressure.php'); |
| 67 | if (!class_exists('WonderPush\Obj\CampaignScheduleUrlCriterion')) require(dirname(__FILE__) . '/lib/Obj/CampaignScheduleUrlCriterion.php'); |
| 68 | if (!class_exists('WonderPush\Obj\CampaignStats')) require(dirname(__FILE__) . '/lib/Obj/CampaignStats.php'); |
| 69 | if (!class_exists('WonderPush\Obj\CampaignUrlFilters')) require(dirname(__FILE__) . '/lib/Obj/CampaignUrlFilters.php'); |
| 70 | if (!class_exists('WonderPush\Obj\CampaignCapping')) require(dirname(__FILE__) . '/lib/Obj/CampaignCapping.php'); |
| 71 | |
| 72 | if (!class_exists('WonderPush\Obj\WebSdkInitOptions')) require(dirname(__FILE__) . '/lib/Obj/WebSdkInitOptions.php'); |
| 73 | if (!class_exists('WonderPush\Obj\WebDomainSdkConfig')) require(dirname(__FILE__) . '/lib/Obj/WebDomainSdkConfig.php'); |
| 74 | if (!class_exists('WonderPush\Obj\WebDomain')) require(dirname(__FILE__) . '/lib/Obj/WebDomain.php'); |
| 75 | |
| 76 | // WonderPush\Params |
| 77 | if (!class_exists('WonderPush\Params\CollectionParams')) require(dirname(__FILE__) . '/lib/Params/CollectionParams.php'); |
| 78 | if (!class_exists('WonderPush\Params\DeliveriesCreateParams')) require(dirname(__FILE__) . '/lib/Params/DeliveriesCreateParams.php'); |
| 79 | if (!class_exists('WonderPush\Params\FrequentFieldValuesParams')) require(dirname(__FILE__) . '/lib/Params/FrequentFieldValuesParams.php'); |
| 80 | if (!class_exists('WonderPush\Params\AllInstallationsParams')) require(dirname(__FILE__) . '/lib/Params/AllInstallationsParams.php'); |
| 81 | if (!class_exists('WonderPush\Params\PatchInstallationParams')) require(dirname(__FILE__) . '/lib/Params/PatchInstallationParams.php'); |
| 82 | if (!class_exists('WonderPush\Params\TrackEventParams')) require(dirname(__FILE__) . '/lib/Params/TrackEventParams.php'); |
| 83 | if (!class_exists('WonderPush\Params\PatchCampaignParams')) require(dirname(__FILE__) . '/lib/Params/PatchCampaignParams.php'); |
| 84 | if (!class_exists('WonderPush\Params\CreateCampaignParams')) require(dirname(__FILE__) . '/lib/Params/CreateCampaignParams.php'); |
| 85 | |
| 86 | // WonderPush\Net |
| 87 | if (!class_exists('WonderPush\Net\Request')) require(dirname(__FILE__) . '/lib/Net/Request.php'); |
| 88 | if (!class_exists('WonderPush\Net\Response')) require(dirname(__FILE__) . '/lib/Net/Response.php'); |
| 89 | if (!interface_exists('WonderPush\Net\HttpClientInterface')) require(dirname(__FILE__) . '/lib/Net/HttpClientInterface.php'); |
| 90 | if (!class_exists('WonderPush\Net\CurlHttpClient')) require(dirname(__FILE__) . '/lib/Net/CurlHttpClient.php'); |
| 91 | |
| 92 | // WonderPush\Errors |
| 93 | if (!class_exists('WonderPush\Errors\Base')) require(dirname(__FILE__) . '/lib/Errors/Base.php'); |
| 94 | if (!class_exists('WonderPush\Errors\Parsing')) require(dirname(__FILE__) . '/lib/Errors/Parsing.php'); |
| 95 | if (!class_exists('WonderPush\Errors\Server')) require(dirname(__FILE__) . '/lib/Errors/Server.php'); |
| 96 | if (!class_exists('WonderPush\Errors\Network')) require(dirname(__FILE__) . '/lib/Errors/Network.php'); |
| 97 | |
| 98 | // WonderPush\Api |
| 99 | if (!class_exists('WonderPush\Api\Rest')) require(dirname(__FILE__) . '/lib/Api/Rest.php'); |
| 100 | if (!class_exists('WonderPush\Api\Deliveries')) require(dirname(__FILE__) . '/lib/Api/Deliveries.php'); |
| 101 | if (!class_exists('WonderPush\Api\Applications')) require(dirname(__FILE__) . '/lib/Api/Applications.php'); |
| 102 | if (!class_exists('WonderPush\Api\Segments')) require(dirname(__FILE__) . '/lib/Api/Segments.php'); |
| 103 | if (!class_exists('WonderPush\Api\Stats')) require(dirname(__FILE__) . '/lib/Api/Stats.php'); |
| 104 | if (!class_exists('WonderPush\Api\Installations')) require(dirname(__FILE__) . '/lib/Api/Installations.php'); |
| 105 | if (!class_exists('WonderPush\Api\Campaigns')) require(dirname(__FILE__) . '/lib/Api/Campaigns.php'); |
| 106 | if (!class_exists('WonderPush\Api\Events')) require(dirname(__FILE__) . '/lib/Api/Events.php'); |