Applies patch to the specific class node.
ClassNode $node:
void
Overrides ClassPatchInterface::apply
public function apply(ClassNode $node) { $this->checkItCanBeDoubled($node); $this->setParentClassToException($node); }