Go\Aop\Support\LazyPointcutAdvisor::getPointcut PHP Method

getPointcut() public method

Get the Pointcut that drives this advisor.
public getPointcut ( ) : Go\Aop\Pointcut
return Go\Aop\Pointcut The pointcut
    public function getPointcut()
    {
        if (!$this->pointcut) {
            // Inject this dependencies and make them lazy!
            // should be extracted from AbstractAspectLoaderExtension into separate class
            /** @var Pointcut\PointcutLexer $lexer */
            $lexer = $this->container->get('aspect.pointcut.lexer');
            /** @var Pointcut\PointcutParser $parser */
            $parser = $this->container->get('aspect.pointcut.parser');
            $tokenStream = $lexer->lex($this->pointcutExpression);
            $this->pointcut = $parser->parse($tokenStream);
        }
        return $this->pointcut;
    }
LazyPointcutAdvisor