public function setId($id) { $this->id = is_numeric($id) && !is_float($tmp = $id * 1) ? $tmp : $id; return $this; }