public canAssemble ( Phpro\SoapClient\CodeGenerator\Context\ContextInterface $context ) : boolean | ||
$context | Phpro\SoapClient\CodeGenerator\Context\ContextInterface | |
리턴 | boolean |
function it_can_not_apply_if_it_can_not_assemble(AssemblerInterface $assembler, ContextInterface $context) { $assembler->canAssemble($context)->willReturn(false); $this->appliesToContext($context)->shouldBe(false); }
/** * @param ContextInterface $context * * @return bool */ public function appliesToContext(ContextInterface $context) { return $this->assembler->canAssemble($context); }