Darken Docs
Attributes\ConstructorParam
Attributes\Hooks\ConstructorParamHook
Attributes\Hooks\InjectHook
Attributes\Hooks\MiddlewareHook
Attributes\Hooks\PostParamHook
Attributes\Hooks\QueryParamHook
Attributes\Hooks\RouteParamHook
Attributes\Hooks\SlotHook
Attributes\Inject
Attributes\Middleware
Attributes\PostParam
Attributes\QueryParam
Attributes\RouteParam
Attributes\Slot
Builder\CodeCompiler
Builder\CodeCompilerOutput
Builder\Compiler\DataExtractorVisitor
Builder\Compiler\Extractor\AttributeExtractorInterface
Builder\Compiler\Extractor\AttributeExtractorTrait
Builder\Compiler\Extractor\ClassAttribute
Builder\Compiler\Extractor\PropertyAttribute
Builder\Compiler\GlobalVisitor
Builder\Compiler\PropertyExtractor
Builder\Compiler\UseStatementCollector
←
Builder\ExtensionFile
Builder\FileSaveInterface
Builder\Hooks\AttributeHookInterface
Builder\Hooks\ClassAttributeHook
Builder\Hooks\HookHelperTrait
Builder\Hooks\PropertyAttributeHook
Builder\InputFile
Builder\OutputCompiled
Builder\OutputPage
Builder\OutputPolyfill
Builder\Polyfill\Creator
Code\InvokeResponseInterface
Code\InvokeStringInterface
Code\Runtime
Code\RuntimeInterface
Config\BaseConfig
Config\ConfigHelperTrait
Config\ConfigInterface
Config\PagesConfigInterface
Console\Application
Console\CommandInterface
Console\Commands\Build
Console\Commands\Dev
Console\Commands\FileBuildProcess
Console\Commands\Watch
Events\AfterBuildEvent
Events\EventDispatchInterface
Events\EventInterface
Kernel
Middleware\AddCustomHeaderMiddleware
Middleware\AuthenticationMiddleware
Middleware\CorsMiddleware
Service\ContainerService
Service\ContainerServiceInterface
Service\EventService
Service\EventServiceInterface
Service\Extension
Service\ExtensionInterface
Service\ExtensionService
Service\ExtensionServiceInterface
Service\MiddlewareService
Service\MiddlewareServiceInterface
Web\Application
Web\PageHandler
Web\Request
Web\Response
Guide
API
Darken\Builder\Compiler\UseStatementCollector
class
Methods
enterNode(PhpParser\Node $node)
getUseStatements()
ensureClassName(string $className)
Method Details
public
enterNode
(
PhpParser\Node
$node
)
UseStatementCollector.php#16
$node
PhpParser\Node
public
array
getUseStatements
()
UseStatementCollector.php#40
Return
array
public
?string
ensureClassName
(
string
$className
)
UseStatementCollector.php#45
$className
string
Return
?string