src/ValueObject/Size.php
public function getHeight($withUnit = false)
    {
        if ($withUnit) {
            return sprintf('%d %s', $this->height, $this->unit);
        }

        return $this->height;
    }
public function getHeight($withUnit = false)
    {
        if ($withUnit) {
            return sprintf('%d %s', $this->height, $this->unit);
        }

        return $this->height;
    }
public function getHeight ( $ withUnit = false ) { if ( $ withUnit ) { return sprintf ( '%d %s' , $ this -> height , $ this -> unit ) ; } return $ this -> height ; }
Returns the height

@param bool $withUnit (optional) If is set to true, height is returned with unit ("px"). Otherwise - without
(default behaviour).
@return int|string
Returns the height