Copied!

AbstractTab

AbstractTab.php : 18
Implements TabInterface

Base class representing Tab. Most use cases should use this abstract as a parent class as it comes with translator and templating services.

Properties

protected $translator

AbstractTab.php : 24
protected TranslatorInterface $translator

protected $twig

AbstractTab.php : 21
protected Environment $twig

Methods

public__construct()

AbstractTab.php : 26
public __construct(Environment $twig, TranslatorInterface $translator)

Parameters

Name Type Default value Description
$twig Environment - -
$translator TranslatorInterface - -