aboutsummaryrefslogtreecommitdiff
path: root/cli/Commands/Make/StudipClassPrinter.php
blob: 5e860850ef6bb909099529487725c7a9f4e15287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
namespace Studip\Cli\Commands\Make;

use Nette\PhpGenerator\Printer;

final class StudipClassPrinter extends Printer
{
    /** length of the line after which the line will break */
    public int $wrapLength = 120;
    /** indentation character, can be replaced with a sequence of spaces */
    public string $indentation = '    ';
    /** number of blank lines between properties */
    public int $linesBetweenProperties = 0;
    /** number of blank lines between methods */
    public int $linesBetweenMethods = 1;

    public string $returnTypeColon = ': ';
}