class PsrPrinter extends Printer

Generates PHP code following PSR-2/PSR-12/PER coding style (4-space indentation, braces on same line).

Properties

$indentation
$linesBetweenMethods
$linesBetweenUseTypes

Methods

bool
isBraceOnNextLine(bool $multiLine, bool $hasReturnType)

No description

Details

at line 21
protected bool isBraceOnNextLine(bool $multiLine, bool $hasReturnType)

No description

Parameters

bool $multiLine
bool $hasReturnType

Return Value

bool