Nichts gefunden

Land

Die Klasse BulkGate\Sms\Country ist eine statische Klasse, die Konstanten mit ISO 3166-1 alpha-2-Codes enthält.

use BulkGate\Sms\Country; // PHP SDK 1.0 use BulkGate\Sdk\Country; // PHP SDK 2.0

Beide Generationen haben eine eigene Klasse mit denselben Konstanten — nur der Namespace unterscheidet sich.

Verwendung:

echo Country::CZECH_REPUBLIC; // 'CZ' echo Country::UNITED_KINGDOM; // 'GB' echo Country::UNITED_STATES; // 'US' echo Country::FRANCE; // 'FR' echo Country::AUSTRALIA; // 'AU' // ... etc
War diese Seite hilfreich?