public function findOneByIdAndLocale($id, Locale $locale) { return $this->findOneBy(['id' => $id, 'status' => ContentBlockStatus::active(), 'locale' => $locale]); }