src/ContractApplication.php
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));
    }
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));
    }
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 ) ) ; }
Configures an AspectContainer with advisors, aspects and pointcuts

@param AspectContainer&GoAspectContainer $container

@return void
Configures an AspectContainer with advisors aspects and pointcuts