linkmobility-php-client/src/ValueObject/SmsTextMessage.php

23 lines
426 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace D3\LinkmobilityClient\ValueObject;
use InvalidArgumentException;
class SmsTextMessage extends SmsMessageAbstract
{
/**
* @param string $message
* @throws InvalidArgumentException
*/
public function __construct(string $message)
{
parent::__construct( $message);
2022-07-11 15:06:18 +02:00
$smsLength = $this->getSmsLength();
$smsLength->validate();
}
}