public function setThickness($thickness) {
        $thickness = intval($thickness);
        if ($thickness <= 0) {
            throw new CINArgumentException('The thickness must be larger than 0.', 'thickness');
        }

        $this->thickness = $thickness;
    }
public function setThickness($thickness) {
        $thickness = intval($thickness);
        if ($thickness <= 0) {
            throw new CINArgumentException('The thickness must be larger than 0.', 'thickness');
        }

        $this->thickness = $thickness;
    }
public function setThickness ( $ thickness ) { $ thickness = intval ( $ thickness ) ; if ( $ thickness <= 0 ) { throw new CINArgumentException ( 'The thickness must be larger than 0.' , 'thickness' ) ; } $ this -> thickness = $ thickness ; }
Sets the thickness.

@param int $thickness
Sets the thickness .