public function resetForLocale(LocaleEntity $locale)
    {
        $this->createQueryBuilder('t')
            ->delete()
            ->where('t.locale = :locale')->setParameter('locale', $locale)
            ->getQuery()->execute();
    }
public function resetForLocale(LocaleEntity $locale)
    {
        $this->createQueryBuilder('t')
            ->delete()
            ->where('t.locale = :locale')->setParameter('locale', $locale)
            ->getQuery()->execute();
    }
public function resetForLocale ( LocaleEntity $ locale ) { $ this -> createQueryBuilder ( 't' ) -> delete ( ) -> where ( 't.locale = :locale' ) -> setParameter ( 'locale' , $ locale ) -> getQuery ( ) -> execute ( ) ; }
Clear the stats for a specific locale.

@para LocaleEntity $locale
Clear the stats for a specific locale .