* @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\Command; use PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId; /** * Class ToggleStateStatusCommand is responsible for toggling state status */ class ToggleStateStatusCommand { /** * @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; } }