soap-client
soap-client copied to clipboard
Feature: Add ClosureAssembler
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...
})
))