Fatal error: Cannot redeclare class App\Notification\Template\IntercomEventTemplate (previously declared in /var/www/app/src/Notification/Template/IntercomEventTemplate.php:10) in /var/www/app/src/Notification/Template/IntercomNewMessageEventTemplate.php on line 10 Call Stack: 0.0059 354104 1. {main}() /var/www/app/public/index.php:0 0.0060 354648 2. require_once('/var/www/app/vendor/autoload_runtime.php') /var/www/app/public/index.php:5 0.0549 442616 3. Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() /var/www/app/vendor/autoload_runtime.php:32 0.0549 442712 4. Symfony\Component\HttpKernel\Kernel->handle($request = class Symfony\Component\HttpFoundation\Request { public Symfony\Component\HttpFoundation\ParameterBag $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected array $parameters = [...] }; public Symfony\Component\HttpFoundation\InputBag $request = class Symfony\Component\HttpFoundation\InputBag { protected array $parameters = [...] }; public Symfony\Component\HttpFoundation\InputBag $query = class Symfony\Component\HttpFoundation\InputBag { protected array $parameters = [...] }; public Symfony\Component\HttpFoundation\ServerBag $server = class Symfony\Component\HttpFoundation\ServerBag { protected array $parameters = [...] }; public Symfony\Component\HttpFoundation\FileBag $files = class Symfony\Component\HttpFoundation\FileBag { protected array $parameters = [...] }; public Symfony\Component\HttpFoundation\InputBag $cookies = class Symfony\Component\HttpFoundation\InputBag { protected array $parameters = [...] }; public Symfony\Component\HttpFoundation\HeaderBag $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected array $headers = [...]; protected array $cacheControl = [...] }; protected $content = NULL; protected ?array $languages = NULL; protected ?array $charsets = NULL; protected ?array $encodings = NULL; protected ?array $acceptableContentTypes = NULL; protected ?string $pathInfo = NULL; protected ?string $requestUri = NULL; protected ?string $baseUrl = NULL; protected ?string $basePath = NULL; protected ?string $method = NULL; protected ?string $format = NULL; protected Symfony\Component\HttpFoundation\Session\SessionInterface|Closure|null $session = NULL; protected ?string $locale = NULL; protected string $defaultLocale = 'en'; private ?string $preferredFormat = NULL; private bool $isHostValid = TRUE; private bool $isForwardedValid = TRUE; private bool $isSafeContentPreferred = *uninitialized*; private array $trustedValuesCache = []; private bool $isIisRewrite = FALSE }, $type = ???, $catch = ???) /var/www/app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 0.0549 442792 5. Symfony\Component\HttpKernel\Kernel->preBoot() /var/www/app/vendor/symfony/http-kernel/Kernel.php:170 0.0723 455128 6. Symfony\Component\HttpKernel\Kernel->initializeContainer() /var/www/app/vendor/symfony/http-kernel/Kernel.php:732 0.3199 479600 7. Symfony\Component\HttpKernel\Kernel->buildContainer() /var/www/app/vendor/symfony/http-kernel/Kernel.php:487 0.3840 542856 8. App\Kernel->registerContainerConfiguration($loader = class Symfony\Component\Config\Loader\DelegatingLoader { protected ?Symfony\Component\Config\Loader\LoaderResolverInterface $resolver = class Symfony\Component\Config\Loader\LoaderResolver { private array $loaders = [...] }; protected ?string $env = *uninitialized* }) /var/www/app/vendor/symfony/http-kernel/Kernel.php:600 0.3840 544336 9. Symfony\Component\Config\Loader\DelegatingLoader->load($resource = class Closure { public $name = '{closure:Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait::registerContainerConfiguration():164}'; public $file = '/var/www/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php'; public $line = 164; public $static = ['loader' => class Symfony\Component\Config\Loader\DelegatingLoader { ... }]; public $this = class App\Kernel { protected array $bundles = [...]; protected ?Symfony\Component\DependencyInjection\ContainerInterface $container = class ContainerU07JdCm\App_KernelDevDebugContainer { ... }; protected bool $booted = FALSE; protected ?float $startTime = 1782985268.693192; private string ${Symfony\Component\HttpKernel\Kernel}projectDir = '/var/www/app'; private ?string ${Symfony\Component\HttpKernel\Kernel}warmupDir = NULL; private int ${Symfony\Component\HttpKernel\Kernel}requestStackSize = 0; private bool ${Symfony\Component\HttpKernel\Kernel}resetServices = FALSE; private bool ${Symfony\Component\HttpKernel\Kernel}handlingHttpCache = FALSE; protected string $environment = 'dev'; protected bool $debug = TRUE }; public $parameter = ['$container' => ''] }, $type = ???) /var/www/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:164 0.3840 544496 10. Symfony\Component\DependencyInjection\Loader\ClosureLoader->load($resource = class Closure { public $name = '{closure:Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait::registerContainerConfiguration():164}'; public $file = '/var/www/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php'; public $line = 164; public $static = ['loader' => class Symfony\Component\Config\Loader\DelegatingLoader { ... }]; public $this = class App\Kernel { protected array $bundles = [...]; protected ?Symfony\Component\DependencyInjection\ContainerInterface $container = class ContainerU07JdCm\App_KernelDevDebugContainer { ... }; protected bool $booted = FALSE; protected ?float $startTime = 1782985268.693192; private string ${Symfony\Component\HttpKernel\Kernel}projectDir = '/var/www/app'; private ?string ${Symfony\Component\HttpKernel\Kernel}warmupDir = NULL; private int ${Symfony\Component\HttpKernel\Kernel}requestStackSize = 0; private bool ${Symfony\Component\HttpKernel\Kernel}resetServices = FALSE; private bool ${Symfony\Component\HttpKernel\Kernel}handlingHttpCache = FALSE; protected string $environment = 'dev'; protected bool $debug = TRUE }; public $parameter = ['$container' => ''] }, $type = NULL) /var/www/app/vendor/symfony/config/Loader/DelegatingLoader.php:37 0.3840 544592 11. App\Kernel->{closure:/var/www/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:164-216}($container = class Symfony\Component\DependencyInjection\ContainerBuilder { protected Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = class Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag { protected array $parameters = [...]; protected bool $resolved = FALSE; protected array $deprecatedParameters = [...]; protected array $nonEmptyParameters = [...]; private string $envPlaceholderUniquePrefix = *uninitialized*; private array $envPlaceholders = [...]; private array $unusedEnvPlaceholders = [...]; private array $providedTypes = [...] }; protected array $services = []; protected array $privates = []; protected array $fileMap = []; protected array $methodMap = []; protected array $factories = []; protected array $aliases = []; protected array $loading = []; protected array $resolving = []; protected array $syntheticIds = []; private array ${Symfony\Component\DependencyInjection\Container}envCache = []; private bool ${Symfony\Component\DependencyInjection\Container}compiled = FALSE; private Closure ${Symfony\Component\DependencyInjection\Container}getEnv = *uninitialized*; private array $extensions = ['framework' => class Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension { ... }, 'maker' => class Symfony\Component\HttpKernel\Bundle\BundleExtension { ... }, 'sentry' => class Sentry\SentryBundle\DependencyInjection\SentryExtension { ... }, 'monolog' => class Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension { ... }]; private array $extensionsByNs = []; private array $definitions = ['service_container' => class Symfony\Component\DependencyInjection\Definition { ... }, 'kernel' => class Symfony\Component\DependencyInjection\Definition { ... }, 'Sentry\\Monolog\\LogsHandler' => class Symfony\Component\DependencyInjection\Definition { ... }, 'Sentry\\Monolog\\ExceptionToSentryIssueHandler' => class Symfony\Component\DependencyInjection\Definition { ... }]; private array $aliasDefinitions = []; private array $resources = ['/var/www/app/vendor/composer/installed.json' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/src/Kernel.php' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/bundles.php' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/cache.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/framework.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/lock.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/messenger.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/monolog.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/notifier.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/rate_limiter.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/routing.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/sentry.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/webhook.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/services.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, 'reflection.App\\Controller\\AliveController' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\EventListener\\SentryTracingListener' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Kernel' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\NotificationFacade' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\NotificationFacadeInterface' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\NotificationPayload' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\Template\\IntercomEventTemplate' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }]; private array $extensionConfigs = ['framework' => [...], 'monolog' => [...], 'sentry' => [...]]; private Symfony\Component\DependencyInjection\Compiler\Compiler $compiler = class Symfony\Component\DependencyInjection\Compiler\Compiler { private Symfony\Component\DependencyInjection\Compiler\PassConfig $passConfig = class Symfony\Component\DependencyInjection\Compiler\PassConfig { ... }; private array $log = [...]; private Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph $serviceReferenceGraph = class Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph { ... } }; private bool $trackResources = TRUE; private Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface $proxyInstantiator = *uninitialized*; private Symfony\Component\DependencyInjection\ExpressionLanguage $expressionLanguage = *uninitialized*; private array $expressionLanguageProviders = []; private array $usedTags = []; private array $envPlaceholders = []; private array $envCounters = []; private array $vendors = [0 => '/var/www/app/vendor']; private array $pathsInVendor = ['/var/www/app/vendor/composer' => TRUE, '/var/www/app/vendor/symfony/http-kernel' => TRUE, '/var/www/app/src' => FALSE, '/var/www/app/vendor/symfony/framework-bundle/Kernel' => TRUE, '/var/www/app/vendor/symfony/http-kernel/Bundle' => TRUE, '/var/www/app/vendor/symfony/framework-bundle' => TRUE, '/var/www/app/vendor/symfony/config/Definition' => TRUE, '/var/www/app/vendor/symfony/dependency-injection/Extension' => TRUE, '/var/www/app/vendor/symfony/maker-bundle/src' => TRUE, '/var/www/app/vendor/sentry/sentry-symfony/src' => TRUE, '/var/www/app/vendor/symfony/monolog-bundle/src' => TRUE, '/var/www/app/vendor/symfony/dependency-injection/Compiler' => TRUE, '/var/www/app/vendor/symfony/framework-bundle/DependencyInjection/Compiler' => TRUE, '/var/www/app/vendor/symfony/http-kernel/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/routing/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/event-dispatcher/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/console/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/cache/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/messenger/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/http-client/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/framework-bundle/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/maker-bundle/src/DependencyInjection/CompilerPass' => TRUE, '/var/www/app/vendor/sentry/sentry-symfony/src/DependencyInjection/Compiler' => TRUE, '/var/www/app/vendor/symfony/monolog-bundle/src/DependencyInjection/Compiler' => TRUE, '/var/www/app/config' => FALSE, '/var/www/app/config/packages' => FALSE, '/var/www/app/src/Controller' => FALSE, '/var/www/app/src/EventListener' => FALSE, '/var/www/app/src/Notification' => FALSE, '/var/www/app/src/Notification/Template' => FALSE]; private array $autoconfiguredInstanceof = []; private array $autoconfiguredAttributes = []; private array $removedIds = []; private array $removedBindingIds = []; private array $classReflectors = ['App\\Kernel' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\HttpKernelInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\TerminableInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\RebootableInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\KernelInterface' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\Bundle\\BundleInterface' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\MakerBundle' => class ReflectionClass { ... }, 'Symfony\\Component\\Config\\Definition\\ConfigurableInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Extension\\ConfigurableExtensionInterface' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\SentryBundle' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MonologBundle\\MonologBundle' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\AssetsContextPass' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\LoggerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\RegisterControllerArgumentLocatorsPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\RemoveEmptyControllerArgumentLocatorsPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Routing\\DependencyInjection\\RoutingResolverPass' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => class ReflectionClass { ... }, 'Symfony\\Component\\Routing\\DependencyInjection\\RoutingControllerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\ProfilerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TranslationLintCommandPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Routing\\DependencyInjection\\AddExpressionLanguageProvidersPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\FragmentRendererPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ControllerArgumentValueResolverPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CachePoolPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CachePoolClearerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CachePoolPrunerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ResettableServicePass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\RegisterLocaleAwareServicesPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TestServiceContainerWeakRefPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TestServiceContainerRealRefPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Messenger\\DependencyInjection\\MessengerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpClient\\DependencyInjection\\HttpClientPass' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\RemoveUnusedSessionMarshallingHandlerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\ErrorLoggerCompilerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\VirtualRequestStackPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TranslationUpdateCommandPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\PhpConfigReferenceDumpPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\AddDebugLogProcessorPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\UnusedTagsPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\ContainerBuilderDebugDumpPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CacheCollectorPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\DependencyInjection\\CompilerPass\\MakeCommandRegistrationPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\DependencyInjection\\CompilerPass\\RemoveMissingParametersPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\DependencyInjection\\CompilerPass\\SetDoctrineAnnotatedPrefixesPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\DbalTracingPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\CacheTracingPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\HttpClientTracingPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\AddLoginListenerTagPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\BufferFlushPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MonologBundle\\DependencyInjection\\Compiler\\LoggerChannelPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MonologBundle\\DependencyInjection\\Compiler\\AddProcessorsPass' => class ReflectionClass { ... }, 'App\\Controller\\AliveController' => class ReflectionClass { ... }, 'App\\EventListener\\SentryTracingListener' => class ReflectionClass { ... }, 'App\\Notification\\NotificationFacade' => class ReflectionClass { ... }, 'App\\Notification\\NotificationFacadeInterface' => class ReflectionClass { ... }, 'App\\Notification\\NotificationPayload' => class ReflectionClass { ... }, 'App\\Notification\\Template\\IntercomEventTemplate' => class ReflectionClass { ... }] }, 'dev') /var/www/app/vendor/symfony/dependency-injection/Loader/ClosureLoader.php:35 0.3950 551552 12. App\Kernel->configureContainer($container = class Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator { protected Symfony\Component\DependencyInjection\Definition|Symfony\Component\DependencyInjection\Alias|null $definition = NULL; private array $instanceof = []; private int $anonymousCount = 0; private Symfony\Component\DependencyInjection\ContainerBuilder $container = class Symfony\Component\DependencyInjection\ContainerBuilder { protected Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = class Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag { ... }; protected array $services = [...]; protected array $privates = [...]; protected array $fileMap = [...]; protected array $methodMap = [...]; protected array $factories = [...]; protected array $aliases = [...]; protected array $loading = [...]; protected array $resolving = [...]; protected array $syntheticIds = [...]; private array ${Symfony\Component\DependencyInjection\Container}envCache = [...]; private bool ${Symfony\Component\DependencyInjection\Container}compiled = FALSE; private Closure ${Symfony\Component\DependencyInjection\Container}getEnv = *uninitialized*; private array $extensions = [...]; private array $extensionsByNs = [...]; private array $definitions = [...]; private array $aliasDefinitions = [...]; private array $resources = [...]; private array $extensionConfigs = [...]; private Symfony\Component\DependencyInjection\Compiler\Compiler $compiler = class Symfony\Component\DependencyInjection\Compiler\Compiler { ... }; private bool $trackResources = TRUE; private Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface $proxyInstantiator = *uninitialized*; private Symfony\Component\DependencyInjection\ExpressionLanguage $expressionLanguage = *uninitialized*; private array $expressionLanguageProviders = [...]; private array $usedTags = [...]; private array $envPlaceholders = [...]; private array $envCounters = [...]; private array $vendors = [...]; private array $pathsInVendor = [...]; private array $autoconfiguredInstanceof = [...]; private array $autoconfiguredAttributes = [...]; private array $removedIds = [...]; private array $removedBindingIds = [...]; private array $classReflectors = [...] }; private Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader = class Symfony\Component\DependencyInjection\Loader\PhpFileLoader { protected ?Symfony\Component\Config\Loader\LoaderResolverInterface $resolver = class Symfony\Component\Config\Loader\LoaderResolver { ... }; protected ?string $env = 'dev'; private ?string ${Symfony\Component\Config\Loader\FileLoader}currentDir = '/var/www/app/src'; protected Symfony\Component\Config\FileLocatorInterface $locator = class Symfony\Component\HttpKernel\Config\FileLocator { ... }; protected bool $isLoadingInstanceof = FALSE; protected array $instanceof = [...]; protected array $interfaces = [...]; protected array $singlyImplemented = [...]; protected array $aliases = [...]; protected bool $autoRegisterAliasesForSinglyImplementedInterfaces = FALSE; protected array $extensionConfigs = [...]; protected int $importing = 1; protected Symfony\Component\DependencyInjection\ContainerBuilder $container = class Symfony\Component\DependencyInjection\ContainerBuilder { ... }; protected bool $prepend = FALSE }; private string $path = '/var/www/app/src/Kernel.php'; private string $file = '/var/www/app/src/Kernel.php'; private ?string $env = 'dev' }, class Symfony\Component\Config\Loader\DelegatingLoader { protected ?Symfony\Component\Config\Loader\LoaderResolverInterface $resolver = class Symfony\Component\Config\Loader\LoaderResolver { private array $loaders = [...] }; protected ?string $env = *uninitialized* }, class Symfony\Component\DependencyInjection\ContainerBuilder { protected Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = class Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag { protected array $parameters = [...]; protected bool $resolved = FALSE; protected array $deprecatedParameters = [...]; protected array $nonEmptyParameters = [...]; private string $envPlaceholderUniquePrefix = *uninitialized*; private array $envPlaceholders = [...]; private array $unusedEnvPlaceholders = [...]; private array $providedTypes = [...] }; protected array $services = []; protected array $privates = []; protected array $fileMap = []; protected array $methodMap = []; protected array $factories = []; protected array $aliases = []; protected array $loading = []; protected array $resolving = []; protected array $syntheticIds = []; private array ${Symfony\Component\DependencyInjection\Container}envCache = []; private bool ${Symfony\Component\DependencyInjection\Container}compiled = FALSE; private Closure ${Symfony\Component\DependencyInjection\Container}getEnv = *uninitialized*; private array $extensions = ['framework' => class Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension { ... }, 'maker' => class Symfony\Component\HttpKernel\Bundle\BundleExtension { ... }, 'sentry' => class Sentry\SentryBundle\DependencyInjection\SentryExtension { ... }, 'monolog' => class Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension { ... }]; private array $extensionsByNs = []; private array $definitions = ['service_container' => class Symfony\Component\DependencyInjection\Definition { ... }, 'kernel' => class Symfony\Component\DependencyInjection\Definition { ... }, 'Sentry\\Monolog\\LogsHandler' => class Symfony\Component\DependencyInjection\Definition { ... }, 'Sentry\\Monolog\\ExceptionToSentryIssueHandler' => class Symfony\Component\DependencyInjection\Definition { ... }]; private array $aliasDefinitions = []; private array $resources = ['/var/www/app/vendor/composer/installed.json' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/src/Kernel.php' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/bundles.php' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/cache.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/framework.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/lock.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/messenger.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/monolog.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/notifier.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/rate_limiter.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/routing.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/sentry.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/packages/webhook.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, '/var/www/app/config/services.yaml' => class Symfony\Component\Config\Resource\FileResource { ... }, 'reflection.App\\Controller\\AliveController' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\EventListener\\SentryTracingListener' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Kernel' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\NotificationFacade' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\NotificationFacadeInterface' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\NotificationPayload' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }, 'reflection.App\\Notification\\Template\\IntercomEventTemplate' => class Symfony\Component\Config\Resource\ReflectionClassResource { ... }]; private array $extensionConfigs = ['framework' => [...], 'monolog' => [...], 'sentry' => [...]]; private Symfony\Component\DependencyInjection\Compiler\Compiler $compiler = class Symfony\Component\DependencyInjection\Compiler\Compiler { private Symfony\Component\DependencyInjection\Compiler\PassConfig $passConfig = class Symfony\Component\DependencyInjection\Compiler\PassConfig { ... }; private array $log = [...]; private Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph $serviceReferenceGraph = class Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph { ... } }; private bool $trackResources = TRUE; private Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface $proxyInstantiator = *uninitialized*; private Symfony\Component\DependencyInjection\ExpressionLanguage $expressionLanguage = *uninitialized*; private array $expressionLanguageProviders = []; private array $usedTags = []; private array $envPlaceholders = []; private array $envCounters = []; private array $vendors = [0 => '/var/www/app/vendor']; private array $pathsInVendor = ['/var/www/app/vendor/composer' => TRUE, '/var/www/app/vendor/symfony/http-kernel' => TRUE, '/var/www/app/src' => FALSE, '/var/www/app/vendor/symfony/framework-bundle/Kernel' => TRUE, '/var/www/app/vendor/symfony/http-kernel/Bundle' => TRUE, '/var/www/app/vendor/symfony/framework-bundle' => TRUE, '/var/www/app/vendor/symfony/config/Definition' => TRUE, '/var/www/app/vendor/symfony/dependency-injection/Extension' => TRUE, '/var/www/app/vendor/symfony/maker-bundle/src' => TRUE, '/var/www/app/vendor/sentry/sentry-symfony/src' => TRUE, '/var/www/app/vendor/symfony/monolog-bundle/src' => TRUE, '/var/www/app/vendor/symfony/dependency-injection/Compiler' => TRUE, '/var/www/app/vendor/symfony/framework-bundle/DependencyInjection/Compiler' => TRUE, '/var/www/app/vendor/symfony/http-kernel/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/routing/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/event-dispatcher/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/console/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/cache/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/messenger/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/http-client/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/framework-bundle/DependencyInjection' => TRUE, '/var/www/app/vendor/symfony/maker-bundle/src/DependencyInjection/CompilerPass' => TRUE, '/var/www/app/vendor/sentry/sentry-symfony/src/DependencyInjection/Compiler' => TRUE, '/var/www/app/vendor/symfony/monolog-bundle/src/DependencyInjection/Compiler' => TRUE, '/var/www/app/config' => FALSE, '/var/www/app/config/packages' => FALSE, '/var/www/app/src/Controller' => FALSE, '/var/www/app/src/EventListener' => FALSE, '/var/www/app/src/Notification' => FALSE, '/var/www/app/src/Notification/Template' => FALSE]; private array $autoconfiguredInstanceof = []; private array $autoconfiguredAttributes = []; private array $removedIds = []; private array $removedBindingIds = []; private array $classReflectors = ['App\\Kernel' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\HttpKernelInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\TerminableInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\RebootableInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\KernelInterface' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\Bundle\\BundleInterface' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\MakerBundle' => class ReflectionClass { ... }, 'Symfony\\Component\\Config\\Definition\\ConfigurableInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Extension\\ConfigurableExtensionInterface' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\SentryBundle' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MonologBundle\\MonologBundle' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\AssetsContextPass' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\LoggerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\RegisterControllerArgumentLocatorsPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\RemoveEmptyControllerArgumentLocatorsPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Routing\\DependencyInjection\\RoutingResolverPass' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => class ReflectionClass { ... }, 'Symfony\\Component\\Routing\\DependencyInjection\\RoutingControllerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\ProfilerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TranslationLintCommandPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Routing\\DependencyInjection\\AddExpressionLanguageProvidersPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\FragmentRendererPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ControllerArgumentValueResolverPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CachePoolPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CachePoolClearerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CachePoolPrunerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ResettableServicePass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpKernel\\DependencyInjection\\RegisterLocaleAwareServicesPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TestServiceContainerWeakRefPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TestServiceContainerRealRefPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Messenger\\DependencyInjection\\MessengerPass' => class ReflectionClass { ... }, 'Symfony\\Component\\HttpClient\\DependencyInjection\\HttpClientPass' => class ReflectionClass { ... }, 'Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\RemoveUnusedSessionMarshallingHandlerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\ErrorLoggerCompilerPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\VirtualRequestStackPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\TranslationUpdateCommandPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\PhpConfigReferenceDumpPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\AddDebugLogProcessorPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\UnusedTagsPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\Compiler\\ContainerBuilderDebugDumpPass' => class ReflectionClass { ... }, 'Symfony\\Component\\Cache\\DependencyInjection\\CacheCollectorPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\DependencyInjection\\CompilerPass\\MakeCommandRegistrationPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\DependencyInjection\\CompilerPass\\RemoveMissingParametersPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MakerBundle\\DependencyInjection\\CompilerPass\\SetDoctrineAnnotatedPrefixesPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\DbalTracingPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\CacheTracingPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\HttpClientTracingPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\AddLoginListenerTagPass' => class ReflectionClass { ... }, 'Sentry\\SentryBundle\\DependencyInjection\\Compiler\\BufferFlushPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MonologBundle\\DependencyInjection\\Compiler\\LoggerChannelPass' => class ReflectionClass { ... }, 'Symfony\\Bundle\\MonologBundle\\DependencyInjection\\Compiler\\AddProcessorsPass' => class ReflectionClass { ... }, 'App\\Controller\\AliveController' => class ReflectionClass { ... }, 'App\\EventListener\\SentryTracingListener' => class ReflectionClass { ... }, 'App\\Notification\\NotificationFacade' => class ReflectionClass { ... }, 'App\\Notification\\NotificationFacadeInterface' => class ReflectionClass { ... }, 'App\\Notification\\NotificationPayload' => class ReflectionClass { ... }, 'App\\Notification\\Template\\IntercomEventTemplate' => class ReflectionClass { ... }] }) /var/www/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:208 0.6931 579752 13. Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator->import($resource = '/var/www/app/{config}/services.yaml', $type = ???, $ignoreErrors = ???) /var/www/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:58 0.6931 579992 14. Symfony\Component\DependencyInjection\Loader\FileLoader->import($resource = '/var/www/app/{config}/services.yaml', $type = NULL, $ignoreErrors = FALSE, $sourceResource = '/var/www/app/src/Kernel.php', $exclude = ???) /var/www/app/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php:67 0.6931 580304 15. Symfony\Component\Config\Loader\FileLoader->import($resource = '/var/www/app/{config}/services.yaml', $type = NULL, $ignoreErrors = FALSE, $sourceResource = '/var/www/app/src/Kernel.php', $exclude = ???) /var/www/app/vendor/symfony/dependency-injection/Loader/FileLoader.php:78 0.6961 594552 16. Symfony\Component\Config\Loader\FileLoader->doImport($resource = '/var/www/app/config/services.yaml', $type = NULL, $ignoreErrors = FALSE, $sourceResource = '/var/www/app/src/Kernel.php') /var/www/app/vendor/symfony/config/Loader/FileLoader.php:92 0.6971 595088 17. Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load($resource = '/var/www/app/config/services.yaml', $type = NULL) /var/www/app/vendor/symfony/config/Loader/FileLoader.php:175 0.7212 603272 18. Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadContent($content = ['parameters' => ['ip_list_cache_ttl' => '%env(int:IP_LIST_CACHE_TTL)%', 'app.timezone' => '%env(PHP_TIMEZONE)%'], 'services' => ['_defaults' => [...], 'App\\' => [...], 'App\\Security\\IpAddressFetcher' => [...], 'App\\Notification\\NotificationFacadeInterface' => [...], 'Sentry\\Monolog\\BreadcrumbHandler' => [...], 'App\\EventListener\\SentryTracingListener' => [...], 'Redis' => [...]]], $path = '/var/www/app/config/services.yaml') /var/www/app/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:138 0.7216 604232 19. Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinitions($content = ['parameters' => ['ip_list_cache_ttl' => '%env(int:IP_LIST_CACHE_TTL)%', 'app.timezone' => '%env(PHP_TIMEZONE)%'], 'services' => ['_defaults' => [...], 'App\\' => [...], 'App\\Security\\IpAddressFetcher' => [...], 'App\\Notification\\NotificationFacadeInterface' => [...], 'Sentry\\Monolog\\BreadcrumbHandler' => [...], 'App\\EventListener\\SentryTracingListener' => [...], 'Redis' => [...]]], $file = '/var/www/app/config/services.yaml', $trackBindings = ???) /var/www/app/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:180 0.7216 605240 20. Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinition($id = 'App\\', $service = ['resource' => '../src/'], $file = '/var/www/app/config/services.yaml', $defaults = ['autowire' => TRUE, 'autoconfigure' => TRUE], $return = FALSE, $trackBindings = TRUE) /var/www/app/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:257 0.7217 606448 21. Symfony\Component\DependencyInjection\Loader\FileLoader->registerClasses($prototype = class Symfony\Component\DependencyInjection\Definition { private ?string $class = NULL; private ?string $file = NULL; private array|string|null $factory = NULL; private bool $shared = TRUE; private array $deprecation = []; private array $properties = []; private array $calls = []; private array $instanceof = []; private bool $autoconfigured = TRUE; private array|string|null $configurator = NULL; private array $tags = []; private bool $public = FALSE; private bool $synthetic = FALSE; private bool $abstract = FALSE; private bool $lazy = FALSE; private ?array $decoratedService = NULL; private bool $autowired = TRUE; private array $changes = []; private array $bindings = []; private array $errors = []; protected array $arguments = []; public ?string $innerServiceId = NULL; public ?int $decorationOnInvalid = NULL }, $namespace = 'App\\', $resource = '../src/', $exclude = NULL, $source = '/var/www/app/config/services.yaml') /var/www/app/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:714 0.7217 606808 22. Symfony\Component\DependencyInjection\Loader\FileLoader->findClasses($namespace = 'App\\', $pattern = '../src/', $excludePatterns = [], $source = '/var/www/app/config/services.yaml') /var/www/app/vendor/symfony/dependency-injection/Loader/FileLoader.php:129 0.8846 730976 23. Symfony\Component\DependencyInjection\ContainerBuilder->getReflectionClass($class = 'App\\Notification\\Template\\IntercomNewMessageEventTemplate', $throw = ???) /var/www/app/vendor/symfony/dependency-injection/Loader/FileLoader.php:362 0.8846 731728 24. Symfony\Component\Config\Resource\ClassExistenceResource->isFresh($timestamp = 0) /var/www/app/vendor/symfony/dependency-injection/ContainerBuilder.php:410 0.8847 732312 25. class_exists($class = 'App\\Notification\\Template\\IntercomNewMessageEventTemplate') /var/www/app/vendor/symfony/config/Resource/ClassExistenceResource.php:76 0.8847 732480 26. Symfony\Component\ErrorHandler\DebugClassLoader->loadClass($class = 'App\\Notification\\Template\\IntercomNewMessageEventTemplate') /var/www/app/vendor/symfony/config/Resource/ClassExistenceResource.php:76 0.8951 733216 27. include('/var/www/app/src/Notification/Template/IntercomNewMessageEventTemplate.php') /var/www/app/vendor/symfony/error-handler/DebugClassLoader.php:319 Compile Error: Cannot redeclare class App\Notification\Template\IntercomEventTemplate (previously declared in /var/www/app/src/Notification/Template/IntercomEventTemplate.php:10) (500 Internal Server Error)

Symfony Exception

Compile Error: Cannot redeclare class App\Notification\Template\IntercomEventTemplate (previously declared in /var/www/app/src/Notification/Template/IntercomEventTemplate.php:10)

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#264
  -error: array:4 [
    "type" => 64
    "message" => "Cannot redeclare class App\Notification\Template\IntercomEventTemplate (previously declared in /var/www/app/src/Notification/Template/IntercomEventTemplate.php:10)"
    "file" => "/var/www/app/src/Notification/Template/IntercomNewMessageEventTemplate.php"
    "line" => 10
  ]
}
  1. use App\Notification\NotificationPayload;
  2. use DateTimeImmutable;
  3. use DateTimeZone;
  4. use Symfony\Component\Notifier\Notification\Notification;
  5. final class IntercomEventTemplate implements NotificationTemplateInterface
  6. {
  7. public function build(array $context): NotificationPayload
  8. {
  9. $item = $context['data']['item'] ?? [];
  10. $isTicket = 'ticket_ticket_part' === ($item['type'] ?? '');

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Cannot redeclare class App\Notification\Template\IntercomEventTemplate (previously declared in /var/www/app/src/Notification/Template/IntercomEventTemplate.php:10)

  at /var/www/app/src/Notification/Template/IntercomNewMessageEventTemplate.php:10