protected function configureAop(AspectContainer $container): void
    {
        /** @var AnnotationReader $reader */
        $reader = $container->get('aspect.annotation.reader');

        $container->registerAspect(new InvariantCheckerAspect($reader));
        $container->registerAspect(new PostconditionCheckerAspect($reader));
        $container->registerAspect(new PreconditionCheckerAspect($reader));
        $container->registerAspect(new InheritCheckerAspect($reader));
    }