[FLOW3-general] Introduce Method WITH parameters via AOP Advice and Interface
Torsten Blindert
register at by-torsten.de
Sun Oct 30 19:22:17 CET 2011
if method introductions with parameters aren't currently supported, than the example snipped in the AOP part of the documentation is wrong. In this method introduction
$joinPoint->getMethodArgument('a')
is used...
On 28.10.2011, at 16:34, Bastian Waidelich <bastian at typo3.org> wrote:
> Torsten Blindert wrote:
>
>> is it possible to introduce a new method with parameters via AOP?
>
> Not yet, but planned: http://forge.typo3.org/issues/6712 (feel free to vote for the issue)
>
>> When I define a method in the introduction interface with parameters,
>> I get an error that the declaration is not compatible with the interface...
>> I don't know where to define the parameters...
>
> Can you post a snippet of your code?
>
> Bastian
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list