isSpecial = ($data->priority < 2); if(($mailComma = strpos($data->email, ',')) !== false) { $this->email = substr($data->email, 0, $mailComma); } } }