/** * {@inheritdoc} */ public function findByReference($code) { return $this->findOneBy([['attribute' => $this->attributeRepository->getIdentifier(), 'value' => $code]]); }