public function setPointcut(PointcutDefinition $pointcut)
    {
        $name = $pointcut->getName();
        $this->_pointcuts[$name] = $pointcut;
        $this->_cache->store('AspectManagerPointcut' . $name, $pointcut);
    }
public function setPointcut(PointcutDefinition $pointcut)
    {
        $name = $pointcut->getName();
        $this->_pointcuts[$name] = $pointcut;
        $this->_cache->store('AspectManagerPointcut' . $name, $pointcut);
    }
public function setPointcut ( PointcutDefinition $ pointcut ) { $ name = $ pointcut -> getName ( ) ; $ this -> _pointcuts [ $ name ] = $ pointcut ; $ this -> _cache -> store ( 'AspectManagerPointcut' . $ name , $ pointcut ) ; }
Adds or overwrites the given pointcut.

@param PointcutDefinition $pointcut Pointcut.

@return void
Adds or overwrites the given pointcut .