PHP 클래스 Webmozart\Console\UI\Rectangle

부터: 1.0
저자: Bernhard Schussek ([email protected])
파일 보기 프로젝트 열기: webmozart/console

공개 메소드들

메소드 설명
__construct ( integer $width, integer $height ) Creates dimensions with the given width and height.
getHeight ( ) : integer Returns the height.
getWidth ( ) : integer Returns the width.

메소드 상세

__construct() 공개 메소드

Creates dimensions with the given width and height.
public __construct ( integer $width, integer $height )
$width integer The width as number of printable characters.
$height integer The height as number of printable lines.

getHeight() 공개 메소드

Returns the height.
public getHeight ( ) : integer
리턴 integer The height as number of printable lines.

getWidth() 공개 메소드

Returns the width.
public getWidth ( ) : integer
리턴 integer The width as number of printable characters.