public final function setWidth( int $width ) : Size
   {

      $this->triggerFixedErrorByNeed( 'width-change' );

      $this->_width = \max( $width, 0 );

      return $this;

   }
public final function setWidth( int $width ) : Size
   {

      $this->triggerFixedErrorByNeed( 'width-change' );

      $this->_width = \max( $width, 0 );

      return $this;

   }
public final function setWidth ( int $ width ) : Size { $ this -> triggerFixedErrorByNeed ( 'width-change' ) ; $ this -> _width = \ max ( $ width , 0 ) ; return $ this ; }
Sets the width.

@param  int $width
@return Size
@throws \Beluga\BelugaError If the instance is set to fixed
Sets the width .