<?php 

namespace NPS\Event;

use Symfony\Component\EventDispatcher\Event;

/**
 * Event for language change
 * @author Lukas Korinek
 * @deprecated Unused due to final implementation chuange
 */
class LanguageChangedEvent extends Event
{
    /** @var string $language */
    private $language;

    public function __construct($language)
    {
        $this->language = $language;
    }

    /**
     * Gets current language
     * @return string
     */
    public function getLanguage()
    {
        return $this->language;
    }
}

