Files
Omair Saleh e203eb08ec large commit
2019-06-03 10:34:49 +08:00

32 lines
645 B
PHP

<?php
namespace App\Classes\Modules\Orders\DataTransferObjects;
class OrderStepObject
{
/** @var string */
protected $orderId;
/** @var string */
protected $currentStep;
/** @var null|string */
protected $nextStep;
/**
* OrderStepObject constructor.
* @param string $orderId
* @param string $currentStep
* @param null|string $nextStep
*/
public function __construct(string $orderId, string $currentStep, ?string $nextStep)
{
$this->orderId = $orderId;
$this->currentStep = $this->getCurrentStep();
$this->currentStep = $this->getCurrentStep();
}
}