final class PsrPrinter extends Printer

Generates PHP code compatible with PSR-2 and PSR-12.

Properties

$indentation
$linesBetweenMethods
$linesBetweenUseTypes

Methods

bool
isBraceOnNextLine(bool $multiLine, bool $hasReturnType)

No description

Details

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

No description

Parameters

bool $multiLine
bool $hasReturnType

Return Value

bool