assemble() public method

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