for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivory Google Map bundle package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\GoogleMapBundle\Templating;
use Ivory\GoogleMap\Helper\StaticMapHelper as BaseStaticMapHelper;
use Ivory\GoogleMap\Map;
use Symfony\Component\Templating\Helper\Helper;
/**
* @author GeLo <[email protected]>
class StaticMapHelper extends Helper
{
* @var BaseStaticMapHelper
private $staticMapHelper;
* @param BaseStaticMapHelper $staticMapHelper
public function __construct(BaseStaticMapHelper $staticMapHelper)
$this->staticMapHelper = $staticMapHelper;
}
* @param Map $map
* @return string
public function render(Map $map)
return $this->staticMapHelper->render($map);
* {@inheritdoc}
public function getName()
return 'ivory_google_map_static';