public function setCrap(float $crap) : void { $this->contextNode ->setAttribute('crap', (string) $crap); }