zingimmick/laravel-sms

View on GitHub
src/Events/SmsSending.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

declare(strict_types=1);

namespace Zing\LaravelSms\Events;

use Overtrue\EasySms\Contracts\MessageInterface;
use Overtrue\EasySms\Contracts\PhoneNumberInterface;

class SmsSending
{
    /**
     * @var \Overtrue\EasySms\Contracts\PhoneNumberInterface
     */
    public $number;

    /**
     * @var \Overtrue\EasySms\Contracts\MessageInterface
     */
    public $message;

    public function __construct(PhoneNumberInterface $number, MessageInterface $message)
    {
        $this->number = $number;
        $this->message = $message;
    }
}