* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\State\Query; use PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId; /** * Gets state for editing in back office */ class GetStateForEditing { /** * @var StateId */ private $stateId; /** * @param int $stateId */ public function __construct(int $stateId) { $this->stateId = new StateId($stateId); } /** * @return StateId */ public function getStateId(): StateId { return $this->stateId; } }