Documentation

ImportProcessor
in package

FinalYes
Tags
author

Greg Korba greg@codito.dev

Table of Contents

Properties

$whitespacesConfig  : WhitespacesFixerConfig

Methods

__construct()  : mixed
insertImports()  : void
tokenizeName()  : array<int, Token>

Properties

Methods

insertImports()

public insertImports(Tokens $tokens, array{const?: array, class?: array, function?: array$imports, int $atIndex) : void
Parameters
$tokens : Tokens
$imports : array{const?: array, class?: array, function?: array}
$atIndex : int

tokenizeName()

public static tokenizeName(class-string $name) : array<int, Token>
Parameters
$name : class-string
Return values
array<int, Token>

        
On this page

Search results