src/UForm/Form/Element/Container/Group/Structural/Panel.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * @license see LICENSE
 */

namespace UForm\Form\Element\Container\Group\Structural;

use UForm\Form\Element\Container\Group\StructuralGroup;

/**
 * @semanticType panel
 * @renderOption helper text that gives further information to the user (always visible)
 * @renderOption tooltip text that gives further information to the user (visible on mouse over or click)
 */
class Panel extends StructuralGroup
{

    public function __construct($title = '')
    {
        parent::__construct();
        if ($title) {
            $this->setOption('title', $title);
        }
        $this->addSemanticType('panel');
    }
}