src/mg/Ding/Bean/Provider/Xml.php
public function getPointcut($name)
    {
        foreach($this->_simpleXml as $xmlName => $xml) {
            $simpleXmlPointcut = $xml->xpath("//pointcut[@id='$name']");
            if (!empty($simpleXmlPointcut)) {
                $simpleXmlPointcut = $simpleXmlPointcut[0];
                $pointcutAtts = $simpleXmlPointcut->attributes();
                $pointcutName = (string)$pointcutAtts->id;
                $pointcut = clone $this->_templatePointcutDef;
                $pointcut->setName($pointcutName);
                $pointcut->setExpression((string)$pointcutAtts->expression);
                $pointcut->setMethod((string)$pointcutAtts->method);
                return $pointcut;
            }
        }
        return false;
    }
public function getPointcut($name)
    {
        foreach($this->_simpleXml as $xmlName => $xml) {
            $simpleXmlPointcut = $xml->xpath("//pointcut[@id='$name']");
            if (!empty($simpleXmlPointcut)) {
                $simpleXmlPointcut = $simpleXmlPointcut[0];
                $pointcutAtts = $simpleXmlPointcut->attributes();
                $pointcutName = (string)$pointcutAtts->id;
                $pointcut = clone $this->_templatePointcutDef;
                $pointcut->setName($pointcutName);
                $pointcut->setExpression((string)$pointcutAtts->expression);
                $pointcut->setMethod((string)$pointcutAtts->method);
                return $pointcut;
            }
        }
        return false;
    }
(non-PHPdoc)
@see Ding\Aspect.IPointcutProvider::getPointcut()