[TYPO3-mvc] Traits in Extbase

Chris Wolff - AERTiCKET AG cwolff at aer.de
Wed May 6 11:16:03 CEST 2015


Hi Philip,
as i understand the extbase reflection it uses the php ReflectionClass().
this is an PHP language feature and should work fine with traits.

Therefore i would not be expecting any problems. But have never tried traits In extbase.

Regards chris

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Philipp Wrann
Gesendet: Mittwoch, 6. Mai 2015 11:04
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: [TYPO3-mvc] Traits in Extbase

Have you experiences some problems when using traits with extbase models?

I just set up a trait to share a common property (images) accross domain models.

At the moment this seems to work perfectly.

Does TYPO3 use at some point a Reflection that is not capeable of using traits or can i use it without worrying?

I dont want to start a general discussion about this language feature, just let me know if i am good to go please :) _______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list