/** * populateFromObject * * @param UserInterface $object * * @return void * @throws RcmUserReadOnlyException */ public function populateFromObject(UserInterface $object) { if (!$this->locked) { return parent::populateFromObject($object); } throw new RcmUserReadOnlyException('Object is READ ONLY'); }