public function setStatic($isStatic) { $this->ctx->setAttribute('static', $isStatic ? 'true' : 'false'); }