PHP 클래스 gossi\codegen\config\CodeFileGeneratorConfig

저자: Thomas Gossmann
상속: extends CodeGeneratorConfig
파일 보기 프로젝트 열기: gossi/php-code-generator 1 사용 예제들

공개 메소드들

메소드 설명
getBlankLineAtEnd ( ) : boolean Returns whether a blank line should be generated at the end of the file
getDeclareStrictTypes ( ) : boolean Returns whether a declare(strict_types=1); statement should be printed below the header comments (PHP 7)
getHeaderComment ( ) : string Returns the file header comment
getHeaderDocblock ( ) : gossi\docblock\Docblock Returns the file header docblock
setBlankLineAtEnd ( boolean $show ) Sets whether a blank line should be generated at the end of the file
setDeclareStrictTypes ( boolean $strict ) Sets whether a declare(strict_types=1); statement should be printed below the header comments (PHP 7)
setHeaderComment ( string $comment ) Sets the file header comment
setHeaderDocblock ( gossi\docblock\Docblock $docblock ) Sets the file header docblock

보호된 메소드들

메소드 설명
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )

비공개 메소드들

메소드 설명
toDocblock ( mixed $value ) : gossi\docblock\Docblock | null

메소드 상세

configureOptions() 보호된 메소드

protected configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

getBlankLineAtEnd() 공개 메소드

Returns whether a blank line should be generated at the end of the file
public getBlankLineAtEnd ( ) : boolean
리턴 boolean `true` if it will be generated and `false` if not

getDeclareStrictTypes() 공개 메소드

Returns whether a declare(strict_types=1); statement should be printed below the header comments (PHP 7)
public getDeclareStrictTypes ( ) : boolean
리턴 boolean `true` if it will be printed and `false` if not

getHeaderComment() 공개 메소드

Returns the file header comment
public getHeaderComment ( ) : string
리턴 string the header comment

getHeaderDocblock() 공개 메소드

Returns the file header docblock
public getHeaderDocblock ( ) : gossi\docblock\Docblock
리턴 gossi\docblock\Docblock the docblock

setBlankLineAtEnd() 공개 메소드

Sets whether a blank line should be generated at the end of the file
public setBlankLineAtEnd ( boolean $show )
$show boolean `true` if it will be generated and `false` if not

setDeclareStrictTypes() 공개 메소드

Sets whether a declare(strict_types=1); statement should be printed below the header comments (PHP 7)
public setDeclareStrictTypes ( boolean $strict )
$strict boolean `true` if it will be printed and `false` if not

setHeaderComment() 공개 메소드

Sets the file header comment
public setHeaderComment ( string $comment )
$comment string the header comment

setHeaderDocblock() 공개 메소드

Sets the file header docblock
public setHeaderDocblock ( gossi\docblock\Docblock $docblock )
$docblock gossi\docblock\Docblock the docblock