ImportProcessor
in package
FinalYes
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- insertImports() : void
- tokenizeName() : array<int, Token>
Properties
$whitespacesConfig
private
WhitespacesFixerConfig
$whitespacesConfig
Methods
__construct()
public
__construct(WhitespacesFixerConfig $whitespacesConfig) : mixed
Parameters
- $whitespacesConfig : WhitespacesFixerConfig
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