/** * {@inheritdoc} */ public function hasRegimen(RegimenInterface $regimen) { return $this->regimens->contains($regimen); }
/** * {@inheritdoc} */ public function hasSample(SampleInterface $sample) { return $this->samples->contains($sample); }