public function getAllForView(View $view)
    {
        //Get all WidgetMaps ids for this View
        $widgetMapsIdsToSearch = [];
        foreach ($view->getBuiltWidgetMap() as $widgetMaps) {
            foreach ($widgetMaps as $widgetMap) {
                $widgetMapsIdsToSearch[] = $widgetMap->getId();
            }
        }

        return $this->createQueryBuilder('widget')
            ->join('widget.widgetMap', 'widgetMap')
            ->andWhere('widgetMap.id IN (:widgetMapsIds)')
            ->setParameter('widgetMapsIds', $widgetMapsIdsToSearch);
    }