/** * Adds a setting filter to the poincut filter composite * * @param string $operator The operator * @param string $configurationPath The path to the settings option, that should be used * @param \F3\FLOW3\AOP\Pointcut\PointcutFilterComposite $pointcutFilterComposite An instance of the pointcut filter composite. The result (ie. the custom filter) will be added to this composite object. * @return void * @author Andreas Förthner <*****@*****.**> */ protected function parseDesignatorSetting($operator, $configurationPath, \F3\FLOW3\AOP\Pointcut\PointcutFilterComposite $pointcutFilterComposite) { $pointcutFilterComposite->addFilter($operator, $this->objectFactory->create('F3\\FLOW3\\AOP\\Pointcut\\PointcutSettingFilter', $configurationPath)); }
/** * Walks recursively through the resources tree. * * @param string $operator The operator * @param string $pointcutExpression The pointcut expression (value of the designator) * @param \F3\FLOW3\AOP\Pointcut\PointcutFilterComposite $pointcutFilterComposite An instance of the pointcut filter composite. The result (ie. the pointcut filter) will be added to this composite object. * @return void * @throws \F3\FLOW3\AOP\Exception\InvalidPointcutExpressionException * @author Andreas Förthner <*****@*****.**> */ protected function parseDesignatorPointcut($operator, $pointcutExpression, \F3\FLOW3\AOP\Pointcut\PointcutFilterComposite $pointcutFilterComposite, array &$trace = array()) { if (!isset($this->resourcesTree[$pointcutExpression])) { throw new \F3\FLOW3\AOP\Exception\InvalidPointcutExpressionException('The given resource was not defined: ' . $pointcutExpression . '".', 1222014591); } $pointcutFilterComposite->addFilter($operator, $this->parse($this->resourcesTree[$pointcutExpression], $trace)); }