/** * Remove contract * * @param ContractInterface $contract */ public function removeContract(ContractInterface $contract) { $this->contracts->removeElement($contract); }