src/Kunstmaan/DashboardBundle/Repository/AnalyticsConfigRepository.php
public function findDefaultOverviews($config)
    {
        $em = $this->getEntityManager();

        return $em->getRepository('KunstmaanDashboardBundle:AnalyticsOverview')
            ->findBy(array(
                    'config' => $config,
                    'segment' => null,
                ));
    }
public function findDefaultOverviews($config)
    {
        $em = $this->getEntityManager();

        return $em->getRepository('KunstmaanDashboardBundle:AnalyticsOverview')
            ->findBy(array(
                    'config' => $config,
                    'segment' => null,
                ));
    }
public function findDefaultOverviews ( $ config ) { $ em = $ this -> getEntityManager ( ) ; return $ em -> getRepository ( 'KunstmaanDashboardBundle:AnalyticsOverview' ) -> findBy ( array ( 'config' => $ config , 'segment' => null , ) ) ; }
Get the default overviews for a config

@return AnalyticsConfig $config
Get the default overviews for a config