<?php

namespace KupShop\GTMOldBundle\PageType;

use KupShop\ContentBundle\View\NewsletterSubscribeView;

class NewsletterSubscribePageType extends AbstractPageType
{
    /** @var NewsletterSubscribeView */
    protected $view;

    public function getPageData(&$dataContainer)
    {
    }

    public function getPageType(&$dataContainer)
    {
        $dataContainer->page->type = 'newsletterSubscribe';
    }

    public static function getSupportedViews()
    {
        return [NewsletterSubscribeView::class];
    }

    public function getTagParamsData(&$dataContainer)
    {
        $dataContainer->google_tag_params->ecomm_pagetype = 'other';
    }
}
