protected function beforeValidate() { $this->source = $this->port; return parent::beforeValidate(); }
protected function beforeValidate() { // "tcp" (or other protocol name) should be in lower case. $this->source = $this->protocol . ':' . $this->address . ':' . $this->port; return parent::beforeValidate(); }