AutoloadCollector class

Framework\Autoload\Debug\AutoloadCollector

Class AutoloadCollector.

Extends Framework\Debug\Collector

Defined in libraries/autoload/src/Debug/AutoloadCollector.php

Properties #

$autoloader
-

$autoloader

protected \Framework\Autoload\Autoloader $autoloader

Methods #

getActivities()
-
getContents()
-
setAutoloader()
-
getDataByDeclaration()
-
getDataByFile()
-
getDeclarationType()
-
getOpcacheConfiguration()
-
getPreloadStatistics()
-
renderAutoloader()
-
renderClasses()
-
renderNamespaces()
-
renderPreload()
-
renderPreloadStatistics()
-

getActivities()

public function getActivities(): array
Returns array

getContents()

public function getContents(): string
Returns string

setAutoloader()

public function setAutoloader(\Framework\Autoload\Autoloader $autoloader): static
Parameters
  • \Framework\Autoload\Autoloader $autoloader
Returns static

getDataByDeclaration()

protected function getDataByDeclaration(string $declaration): array|false
Parameters
  • string $declaration
Returns array|false

getDataByFile()

protected function getDataByFile(string $file): array|false
Parameters
  • string $file
Returns array|false

getDeclarationType()

protected function getDeclarationType(string $declaration): string
Parameters
  • string $declaration
Returns string

getOpcacheConfiguration()

protected function getOpcacheConfiguration(): ?array
Returns ?array

getPreloadStatistics()

protected function getPreloadStatistics(): array
Returns array

renderAutoloader()

protected function renderAutoloader(): string
Returns string

renderClasses()

protected function renderClasses(): string
Returns string

renderNamespaces()

protected function renderNamespaces(): string
Returns string

renderPreload()

protected function renderPreload(): string
Returns string

renderPreloadStatistics()

protected function renderPreloadStatistics(): string
Returns string

Inherited methods #