Go to file
Daniel Seifert 81236bcf2c
add test for RequestFactory
2022-07-11 23:30:44 +02:00
.github/workflows add exceptions, fix auth, implement response, sanitize recipient and sender 2022-06-24 14:46:23 +02:00
Tests add test for RequestFactory 2022-07-11 23:30:44 +02:00
src add test for RequestFactory 2022-07-11 23:30:44 +02:00
.gitignore add tests for client and url class 2022-07-10 21:52:37 +02:00
README.md inject logger, do not catch exceptions that should lead to termination 2022-07-01 11:05:40 +02:00
composer.json add tests for some classes 2022-07-11 15:06:18 +02:00
phpunit.xml add tests structure 2022-07-09 22:36:10 +02:00
todo.txt add exceptions, fix auth, implement response, sanitize recipient and sender 2022-06-24 14:46:23 +02:00

README.md

$client = new Client('accesstoken');
$client->setLogger($logger);  // optional
$request = new D3\LinkmobilityClient\SMS\RequestFactory($message, $client)->getSmsRequest())
    ->addRecipient(new D3\LinkmobilityClient\ValueObject\Recipient('recipient', 'DE'));
$client->request($request)