PHP 클래스 Webmozart\Console\UI\Component\Paragraph

The paragraph is wrapped into the dimensions of the output.
부터: 1.0
저자: Bernhard Schussek ([email protected])
상속: implements Webmozart\Console\UI\Component
파일 보기 프로젝트 열기: webmozart/console 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $text ) Creates a new paragraph.
render ( IO $io, integer $indentation ) Renders the paragraph.

메소드 상세

__construct() 공개 메소드

Creates a new paragraph.
public __construct ( string $text )
$text string The text of the paragraph.

render() 공개 메소드

Renders the paragraph.
public render ( IO $io, integer $indentation )
$io Webmozart\Console\Api\IO\IO The I/O.
$indentation integer The number of spaces to indent.