# ivyforms/0.5/backend/src/ValueObjects/Number/Integer/IDs.php

The Innovative Form Builder – IvyForms, version 0.5. 47 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/0.5/code/backend/src/ValueObjects/Number/Integer/IDs.php
- Raw: https://pluginprobe.com/plugins/ivyforms/0.5/raw/backend/src/ValueObjects/Number/Integer/IDs.php
- Modified: 2025-10-23T15:35:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ivyforms/0.5/code/backend/src/ValueObjects/Number/Integer/IDs.php#L10-L20`.

```php
<?php

/**
 * @copyright © TMS-Plugins. All rights reserved.
 * @licence   See LICENCE.md for license details.
 */

namespace IvyForms\ValueObjects\Number\Integer;

// phpcs:disable PSR1.Files.SideEffects
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

/**
 * Class IDs
 *
 * @package IvyForms\ValueObjects\Number\Integer
 */
final class IDs
{
    /**
     * @var int
     */
    private int $id;

    /**
     * Id constructor.
     *
     * @param int $id
     */
    public function __construct(int $id)
    {
        $this->id = $id;
    }

    /**
     * Return the password from the value object
     *
     * @return int
     */
    public function getValue(): int
    {
        return $this->id;
    }
}

```
