/** * Constructor method for MailPop3DataSource * @param string $id * @param string $name * @param string $l * @param bool $isEnabled * @param bool $importOnly * @param string $host * @param int $port * @param MdsConnectionType $connectionType * @param string $username * @param string $password * @param string $pollingInterval * @param string $emailAddress * @param bool $useAddressForForwardReply * @param string $defaultSignature * @param string $forwardReplySignature * @param string $fromDisplay * @param string $replyToAddress * @param string $replyToDisplay * @param string $importClass * @param string $failingSince * @param int $lastError * @param array $a * @return self */ public function __construct($leaveOnServer = null, $id = null, $name = null, $l = null, $isEnabled = null, $importOnly = null, $host = null, $port = null, MdsConnectionType $connectionType = null, $username = null, $password = null, $pollingInterval = null, $emailAddress = null, $useAddressForForwardReply = null, $defaultSignature = null, $forwardReplySignature = null, $fromDisplay = null, $replyToAddress = null, $replyToDisplay = null, $importClass = null, $failingSince = null, $lastError = null, array $attrs = []) { parent::__construct($id, $name, $l, $isEnabled, $importOnly, $host, $port, $connectionType, $username, $password, $pollingInterval, $emailAddress, $useAddressForForwardReply, $defaultSignature, $forwardReplySignature, $fromDisplay, $replyToAddress, $replyToDisplay, $importClass, $failingSince, $lastError, $attrs); if (null !== $leaveOnServer) { $this->setProperty('leaveOnServer', (bool) $leaveOnServer); } }