for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Neutrino package.
*
* (c) Vasil Dakov <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace VasilDakov\Speedy\Service\Service;
use DateTime;
use VasilDakov\Speedy\Service\Calculation\CalculationRecipient;
use VasilDakov\Speedy\Service\Calculation\CalculationSender;
use VasilDakov\Speedy\ToArray;
/**
* Class DestinationServicesRequest
* @author Vasil Dakov <[email protected]>
* @copyright 2009-2023 Neutrino.bg
* @version 1.0
class DestinationServicesRequest
{
use ToArray;
* @var DateTime|null
private ?DateTime $date = null;
$date
* @var CalculationSender|null
private ?CalculationSender $sender = null;
$sender
* @var CalculationRecipient
private CalculationRecipient $recipient;
public function __construct(CalculationRecipient $recipient)
$this->recipient = $recipient;
}
* @return CalculationRecipient
public function getRecipient(): CalculationRecipient
return $this->recipient;