public function fitsInto(Size $size)
    {
        return ($this->width <= $size->width) && ($this->height <= $size->height);
    }
public function fitsInto(Size $size)
    {
        return ($this->width <= $size->width) && ($this->height <= $size->height);
    }
public function fitsInto ( Size $ size ) { return ( $ this -> width <= $ size -> width ) && ( $ this -> height <= $ size -> height ) ; }
Checks if given size fits into current size

@param  Size   $size
@return boolean
Checks if given size fits into current size