protected function matchPart(
        Pointcut $pointcut,
        $point,
        $context = null,
        $instance = null,
        array $arguments = null
    ): bool {
        return $pointcut->matches($point, $context, $instance, $arguments)
            && $pointcut->getClassFilter()->matches($context);
    }
protected function matchPart(
        Pointcut $pointcut,
        $point,
        $context = null,
        $instance = null,
        array $arguments = null
    ): bool {
        return $pointcut->matches($point, $context, $instance, $arguments)
            && $pointcut->getClassFilter()->matches($context);
    }
protected function matchPart ( Pointcut $ pointcut , $ point , $ context = null , $ instance = null , array $ arguments = null ) : bool { return $ pointcut -> matches ( $ point , $ context , $ instance , $ arguments ) && $ pointcut -> getClassFilter ( ) -> matches ( $ context ) ; }
Checks if point filter matches the point

@param Pointcut $pointcut
@param \ReflectionMethod|\ReflectionProperty $point
@param mixed $context Related context, can be class or namespace
@param object|string|null $instance [Optional] Instance for dynamic matching
@param array $arguments [Optional] Extra arguments for dynamic matching

@return bool
Checks if point filter matches the point