PHP Класс Webmozart\Console\UI\Rectangle

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.