src/mg/Ding/Aspect/AspectManager.php
public function getPointcut($pointcut)
    {
        if (isset($this->_pointcuts[$pointcut])) {
            return $this->_pointcuts[$pointcut];
        } else {
            $result = false;
            $value = $this->_cache->fetch('AspectManagerPointcut' . $pointcut, $result);
            if ($result === true) {
                $this->_pointcuts[$pointcut] = $value;
                return $value;
            } else {
                foreach ($this->_pointcutProviders as $provider) {
                    $value = $provider->getPointcut($pointcut);
                    if ($value !== false) {
                        $this->setPointcut($value);
                        return $value;
                    }
                }
            }
        }
        return false;
    }
public function getPointcut($pointcut)
    {
        if (isset($this->_pointcuts[$pointcut])) {
            return $this->_pointcuts[$pointcut];
        } else {
            $result = false;
            $value = $this->_cache->fetch('AspectManagerPointcut' . $pointcut, $result);
            if ($result === true) {
                $this->_pointcuts[$pointcut] = $value;
                return $value;
            } else {
                foreach ($this->_pointcutProviders as $provider) {
                    $value = $provider->getPointcut($pointcut);
                    if ($value !== false) {
                        $this->setPointcut($value);
                        return $value;
                    }
                }
            }
        }
        return false;
    }
Returns a PointcutDefinition or false if none found.

@param string $pointcut Pointcut id or name.

@return PointcutDefinition