File: D:/HostingSpaces/SBogers10/ehbo.today/app/KommaApp/Kms/Core/Sections/AbstractSectionTabItem.php
<?php declare(strict_types=1);
namespace App\KommaApp\Kms\Core\Sections;
use App\KommaApp\Kms\Core\Attributes\Attribute;
/**
* Links a piece of data (can be anything) to a SectionTabGroups value.
*
* Class AbstractSectionTabItem
* @package App\KommaApp\Kms\Core\Sections
*/
abstract class AbstractSectionTabItem
{
/** @var Attribute $attribute*/
private $attribute;
/** @var string $group One of the SectionTabGroups group constants */
private $group;
/**
* @return Attribute
*/
public function getAttribute()
{
return $this->attribute;
}
/**
* @param Attribute $attribute
* @return AbstractSectionTabItem
*/
public function setAttribute(Attribute $attribute): AbstractSectionTabItem
{
$this->attribute = $attribute;
return $this;
}
/**
* @return string Corresponds to one of the SectionTabGroups group constants
*/
public function getGroup(): string
{
return $this->group;
}
/**
* @param string $group One of the SectionTabGroups group constants
* @return $this
*/
public function setGroup(string $group): AbstractSectionTabItem
{
$this->group = $group;
return $this;
}
}