Files
izyim/app/Classes/Modules/Orders/DataTransferObjects/OrderStepObject.php
T
2019-03-04 03:01:20 +08:00

38 lines
734 B
PHP

<?php
/**
* Created by PhpStorm.
* User: Omair Saleh
* Date: 27/2/2019
* Time: 3:28 PM
*/
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();
}
}