Spaces:
No application file
No application file
| declare(strict_types=1); | |
| namespace MauticPlugin\GrapesJsBuilderBundle\Integration\Support; | |
| use Mautic\IntegrationsBundle\Integration\Interfaces\BuilderInterface; | |
| use MauticPlugin\GrapesJsBuilderBundle\Integration\GrapesJsBuilderIntegration; | |
| class BuilderSupport extends GrapesJsBuilderIntegration implements BuilderInterface | |
| { | |
| /** | |
| * @var string[] | |
| */ | |
| private array $featuresSupported = ['email', 'page']; | |
| public function isSupported(string $featureName): bool | |
| { | |
| return in_array($featureName, $this->featuresSupported); | |
| } | |
| } | |