Documentation

AlignDoubleArrowFixerHelper extends AbstractAlignFixerHelper
in package

Tags
author

Carlos Cirello carlos.cirello.nl@gmail.com

author

Dariusz RumiƄski dariusz.ruminski@gmail.com

author

Graham Campbell graham@alt-three.com

deprecated

Table of Contents

$currentLevel  : int
Level counter of the current nest level.
__construct()  : mixed
injectAlignmentPlaceholders()  : mixed
{@inheritdoc}
injectArrayAlignmentPlaceholders()  : mixed

Properties

$currentLevel

Level counter of the current nest level.

private int $currentLevel = 0

So one level alignments are not mixed with other level ones.

Methods

injectAlignmentPlaceholders()

{@inheritdoc}

protected injectAlignmentPlaceholders(Tokens $tokens, mixed $startAt, mixed $endAt) : mixed
Parameters
$tokens : Tokens
$startAt : mixed
$endAt : mixed
Return values
mixed

injectArrayAlignmentPlaceholders()

private injectArrayAlignmentPlaceholders(Tokens $tokens, int $from, int $until) : mixed
Parameters
$tokens : Tokens
$from : int
$until : int
Return values
mixed

Search results