/** * Get recipient client user id * * @return int */ public function getClientUserId() { /*$prefix = $this->isPrimary ? 'primary_' : 'secondary_'; return $prefix . $this->owner->getId();*/ return $this->isPrimary ? $this->owner->getId() : null; }
/** * Get recipient client user id * * @return int */ public function getClientUserId() { /*$prefix = $this->isPrimary ? 'primary_' : 'secondary_'; return $prefix . $this->owner->getId();*/ return $this->isPrimary ? $this->owner->getId() : null; }