[Flow] Pointcut combination of classAnootatedWith and method
Christian Loock
chl at vkf-renzel.de
Thu May 22 16:25:19 CEST 2014
Hello,
I want to write an advice that wraps around all methods of classes that
have a certain Annotation and a certain methodname. This is what i try:
/**
* @param \TYPO3\Flow\Aop\JoinPoint $joinPoint
* @Flow\Around("class(VKF\Deployment\Task\CopyLiveDatabaseTask) &&
method(public .*->execute())")
*/
public function
limitTaskExecutionByNodeType(\TYPO3\Flow\Aop\JoinPoint $joinPoint) {
\TYPO3\Flow\var_dump($joinPoint);
die;
}
However, it wont work. Does anybody know what is wrong?
--
Christian Loock
Web Developer
Renzel Agentur
www.renzel-agentur.de
More information about the Flow
mailing list