[TYPO3-v4] Property declaration in swiftmailer message API
Ernesto Baschny [cron IT]
ernst at cron-it.de
Wed Jan 19 14:11:06 CET 2011
Steffen Müller schrieb am 19.01.2011 12:31:
> Hi.
>
> Is there a reason why "var" is used instead of "public" in
> t3lib_mail_Message?
>
> class t3lib_mail_Message extends Swift_Message {
>
> var $mailer;
>
> var $sent = FALSE;
>
> var $failedRecipients = array();
>
>
> http://forge.typo3.org/projects/typo3v4-core/repository/entry/trunk/t3lib/mail/class.t3lib_mail_message.php#L42
>
>
> Seems to be copied from FLOW3:
> http://forge.typo3.org/projects/package-swiftmailer/repository/revisions/master/entry/Classes/Message.php
Yes, it was a backport from FLOW3, and you'r right they have to be
protected!
Please also report that to "upstream" (FLOW3) so that we can have that
fixed also there:
http://forge.typo3.org/projects/package-swiftmailer/issues
Thanks for spotting.
Cheers,
Ernesto
More information about the TYPO3-project-v4
mailing list