soap-client icon indicating copy to clipboard operation
soap-client copied to clipboard

Feature: Add ClosureAssembler

Open gitlog opened this issue 4 years ago • 0 comments

ClosureAssembler - This implementation makes it possible use closure/callback

Usage:

   $config ->addRule(new Rules\AssembleRule(new Assembler\ClosureAssembler(
        function(ContextInterface $context): bool {
            return $context instanceof TypeContext;
        },
        function(ContextInterface $context) {

            // some code...
        })
    ))

gitlog avatar Jul 06 '20 15:07 gitlog