[TYPO3-dev] Hooks and protected class members
Martin Kutschker
masi-no at spam-typo3.org
Thu Sep 23 08:47:14 CEST 2010
Am 22.09.2010 15:04, schrieb Jigal van Hemert:
> Hi,
>
> We're both promoting the use of hooks for modifying functionality and the use of protected class
> members if they need not be exposed in the API.
>
> Opinions?
Add those protected members, if it makes sense to the parameter list of the hook. Generally I don't
think that a hook subscriber should have access to all protected members by default.
Masi
More information about the TYPO3-dev
mailing list