protected function bulkSave(array $throttles)
    {
        $entityManager = $this->getEntityManager();

        foreach ($throttles as $throttle)
        {
            $entityManager->persist($throttle);
        }

        $entityManager->flush();
    }
protected function bulkSave(array $throttles)
    {
        $entityManager = $this->getEntityManager();

        foreach ($throttles as $throttle)
        {
            $entityManager->persist($throttle);
        }

        $entityManager->flush();
    }
protected function bulkSave ( array $ throttles ) { $ entityManager = $ this -> getEntityManager ( ) ; foreach ( $ throttles as $ throttle ) { $ entityManager -> persist ( $ throttle ) ; } $ entityManager -> flush ( ) ; }
Persist an array of Throttles and flush them together.

@param array $throttles
Persist an array of Throttles and flush them together .