PHP 클래스 gossi\codegen\generator\utils\Writer

This may be used to simplify writing well-formatted code.
저자: Johannes M. Schmitt ([email protected])
파일 보기 프로젝트 열기: gossi/php-code-generator 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $options = [] )
endsWith ( $search )
getContent ( )
indent ( )
outdent ( )
reset ( )
rtrim ( )
write ( string $content )
writeln ( string $content = '' )

메소드 상세

__construct() 공개 메소드

public __construct ( $options = [] )

endsWith() 공개 메소드

public endsWith ( $search )

getContent() 공개 메소드

public getContent ( )

indent() 공개 메소드

public indent ( )

outdent() 공개 메소드

public outdent ( )

reset() 공개 메소드

public reset ( )

rtrim() 공개 메소드

public rtrim ( )

write() 공개 메소드

public write ( string $content )
$content string

writeln() 공개 메소드

public writeln ( string $content = '' )
$content string