# ivyforms/1.1.1/backend/src/ValueObjects/Form/FormSettings.php

The Innovative Form Builder – IvyForms, version 1.1.1. 83 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/1.1.1/code/backend/src/ValueObjects/Form/FormSettings.php
- Raw: https://pluginprobe.com/plugins/ivyforms/1.1.1/raw/backend/src/ValueObjects/Form/FormSettings.php
- Modified: 2026-06-08T12:18:46+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/1.1.1/code/backend/src/ValueObjects/Form/FormSettings.php#L10-L20`.

```php
<?php

namespace IvyForms\ValueObjects\Form;

/**
 * Class FormSettings
 * Groups display and behavior settings for a form
 *
 * @package IvyForms\ValueObjects\Form
 */
final class FormSettings
{
    /**
     * @var bool
     */
    public bool $showTitle;

    /**
     * @var bool
     */
    public bool $showDescription;

    /**
     * @var bool
     */
    public bool $storeEntries;

    /**
     * FormSettings constructor.
     *
     * @param bool $showTitle
     * @param bool $showDescription
     * @param bool $storeEntries
     */
    public function __construct(
        bool $showTitle,
        bool $showDescription,
        bool $storeEntries
    ) {
        $this->showTitle       = $showTitle;
        $this->showDescription = $showDescription;
        $this->storeEntries    = $storeEntries;
    }

    /**
     * @return bool
     */
    public function isShowTitle(): bool
    {
        return $this->showTitle;
    }

    /**
     * @return bool
     */
    public function isShowDescription(): bool
    {
        return $this->showDescription;
    }

    /**
     * @return bool
     */
    public function isStoreEntries(): bool
    {
        return $this->storeEntries;
    }

    /**
     * Convert to array
     *
     * @return array<string, bool>
     */
    public function toArray(): array
    {
        return [
            'showTitle'       => $this->showTitle,
            'showDescription' => $this->showDescription,
            'storeEntries'    => $this->storeEntries,
        ];
    }
}

```
