public function findPointcut(string $aspectClassName, string $pointcutMethodName)
    {
        if (!isset($this->aspectContainers[$aspectClassName])) {
            return false;
        }
        foreach ($this->aspectContainers[$aspectClassName]->getPointcuts() as $pointcut) {
            if ($pointcut->getPointcutMethodName() === $pointcutMethodName) {
                return $pointcut;
            }
        }
        return false;
    }
public function findPointcut(string $aspectClassName, string $pointcutMethodName)
    {
        if (!isset($this->aspectContainers[$aspectClassName])) {
            return false;
        }
        foreach ($this->aspectContainers[$aspectClassName]->getPointcuts() as $pointcut) {
            if ($pointcut->getPointcutMethodName() === $pointcutMethodName) {
                return $pointcut;
            }
        }
        return false;
    }
public function findPointcut ( string $ aspectClassName , string $ pointcutMethodName ) { if ( ! isset ( $ this -> aspectContainers [ $ aspectClassName ] ) ) { return false ; } foreach ( $ this -> aspectContainers [ $ aspectClassName ] -> getPointcuts ( ) as $ pointcut ) { if ( $ pointcut -> getPointcutMethodName ( ) === $ pointcutMethodName ) { return $ pointcut ; } } return false ; }
Traverses the aspect containers to find a pointcut from the aspect class name
and pointcut method name

@param string $aspectClassName Name of the aspect class where the pointcut has been declared
@param string $pointcutMethodName Method name of the pointcut
@return mixed The Aop\Pointcut\Pointcut or false if none was found
Traverses the aspect containers to find a pointcut from the aspect class name and pointcut method name