Bundle/CoreBundle/Entity/View.php
public function addWidgetMap(WidgetMap $widgetMap)
    {
        if (!$widgetMap->getView()) {
            $widgetMap->setView($this);
        }
        $this->widgetMaps[] = $widgetMap;
    }
public function addWidgetMap(WidgetMap $widgetMap)
    {
        if (!$widgetMap->getView()) {
            $widgetMap->setView($this);
        }
        $this->widgetMaps[] = $widgetMap;
    }
public function addWidgetMap ( WidgetMap $ widgetMap ) { if ( ! $ widgetMap -> getView ( ) ) { $ widgetMap -> setView ( $ this ) ; } $ this -> widgetMaps [ ] = $ widgetMap ; }
Add WidgetMap.

@param WidgetMap $widgetMap
Add WidgetMap .