AlignDoubleArrowFixerHelper
extends AbstractAlignFixerHelper
in package
Tags
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
__construct()
public
__construct() : mixed
Return values
mixed —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