Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) |
Method | Description | |
---|---|---|
toDocblock ( mixed $value ) : gossi\docblock\Docblock | null |
protected configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolver |
public getBlankLineAtEnd ( ) : boolean | ||
return | boolean | `true` if it will be generated and `false` if not |
public getDeclareStrictTypes ( ) : boolean | ||
return | boolean | `true` if it will be printed and `false` if not |
public getHeaderComment ( ) : string | ||
return | string | the header comment |
public getHeaderDocblock ( ) : gossi\docblock\Docblock | ||
return | gossi\docblock\Docblock | the docblock |
public setBlankLineAtEnd ( boolean $show ) | ||
$show | boolean | `true` if it will be generated and `false` if not |
public setDeclareStrictTypes ( boolean $strict ) | ||
$strict | boolean | `true` if it will be printed and `false` if not |
public setHeaderComment ( string $comment ) | ||
$comment | string | the header comment |
public setHeaderDocblock ( gossi\docblock\Docblock $docblock ) | ||
$docblock | gossi\docblock\Docblock | the docblock |