<?php

namespace NavigationBundle\Location;

use AppBundle\Util\Price;

/**
 * Description of GemShopLocation
 *
 * @author Draeius
 */
class GemShopLocation extends GenericLocation {

    public function getVariables() {
        $params = parent::getVariables();
        $settings = $this->getManager()->getRepository('AppBundle:ServerSettings')->find(1);

        return array_merge($params, [
            'priceColoredName' => new Price(0, 0, $settings->getPriceColoredName()),
            'priceColoredTitle' => new Price(0, 0, $settings->getPriceColoredTitle())
        ]);
    }

}
