* @copyright 2007-2020 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA */ namespace PrestaShop\Module\Mbo\Tab; use ArrayAccess; use Countable; use IteratorAggregate; interface TabCollectionInterface extends ArrayAccess, IteratorAggregate, Countable { /** * Add a tab to this collection. * * @param TabInterface $tab * * @return self */ public function addTab(TabInterface $tab); /** * @param string $tabClassName * * @return TabInterface */ public function getTab($tabClassName); /** * @param mixed $offset * * @return TabInterface */ public function offsetGet($offset); /** * @return bool */ public function isEmpty(); }