Assembles pieces of code.
public assemble ( Phpro\SoapClient\CodeGenerator\Context\ContextInterface $context ) | ||
$context | Phpro\SoapClient\CodeGenerator\Context\ContextInterface |
function it_assembles_the_context_when_applied(AssemblerInterface $assembler, ContextInterface $context) { $assembler->assemble($context)->shouldBeCalled(); $this->apply($context); }
/** * @param ContextInterface $context */ public function apply(ContextInterface $context) { $this->assembler->assemble($context); }