src/Net/API/Gravatar.php
public function setSize( $size ){
		if( !is_integer( $size ) )
			throw new InvalidArgumentException( 'Size must be an integer' );
		if( $size < 1 )
			throw new OutOfBoundsException( 'Size must be atleast 1 pixel' );
		if( $size > 512 )
			throw new OutOfBoundsException( 'Size must be atmost 512 pixels' );
		$this->size	= $size;
	}
public function setSize( $size ){
		if( !is_integer( $size ) )
			throw new InvalidArgumentException( 'Size must be an integer' );
		if( $size < 1 )
			throw new OutOfBoundsException( 'Size must be atleast 1 pixel' );
		if( $size > 512 )
			throw new OutOfBoundsException( 'Size must be atmost 512 pixels' );
		$this->size	= $size;
	}
public function setSize ( $ size ) { if ( ! is_integer ( $ size ) ) throw new InvalidArgumentException ( 'Size must be an integer' ) ; if ( $ size < 1 ) throw new OutOfBoundsException ( 'Size must be atleast 1 pixel' ) ; if ( $ size > 512 ) throw new OutOfBoundsException ( 'Size must be atmost 512 pixels' ) ; $ this -> size = $ size ; }
Sets size of image to get from Gravatar.
@access		public
@param		integer		$size		Size of image (within 1 and 512) in pixels
@return		void
Sets size of image to get from Gravatar .