According to this http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Autoloading/Index.html from TYPO3 V6 , using namespaces is encouraged and that any PHP file should contain only ONE class. Quoting from the above link
- In TYPO3 every class must reside in its own file, i.e. there should
be only one class per PHP file
- Use the class naming convention and file location.
My extension is built using extension builder.
It uses the twitter API library and there is one file config.php
which is to be used.
This file contains multiple classes
in it.
The question is, to use this config.php , following the two conditions, should I divide the config.php
into multiple php files, each with a single class in it ?
Or is there a really neat way to go about this ?