public function setOp($value) { if ($this->opable === null) { throw new \LogicException("Cannot change op value as no ServerOperator is set"); } else { $this->opable->setOp($value); } }