AutoloadCollector
extends Collector
in package
Class AutoloadCollector.
Table of Contents
- $activities : array<string|int, mixed>
- $autoloader : Autoloader
- $data : array<string|int, mixed>
- $name : string
- __construct() : mixed
- addData() : static
- getActivities() : array<int, array<string, mixed>>
- getContents() : string
- getData() : array<string|int, mixed>
- getName() : string
- getSafeName() : string
- hasData() : bool
- setAutoloader() : static
- getDataByDeclaration() : array<string, mixed>|false
- getDataByFile() : array<string, mixed>|false
- getDeclarationType() : string
- getOpcacheConfiguration() : array<string, mixed>|null
- getPreloadStatistics() : array<string, mixed>
- renderAutoloader() : string
- renderClasses() : string
- renderNamespaces() : string
- renderPreload() : string
- renderPreloadStatistics() : string
Properties
$activities
protected
array<string|int, mixed>
$activities
= []
$autoloader
protected
Autoloader
$autoloader
$data
protected
array<string|int, mixed>
$data
= []
$name
protected
string
$name
Methods
__construct()
public
__construct([string $name = 'default' ]) : mixed
Parameters
- $name : string = 'default'
Return values
mixed —addData()
public
addData(array<string|int, mixed> $data) : static
Parameters
- $data : array<string|int, mixed>
Return values
static —getActivities()
public
getActivities() : array<int, array<string, mixed>>
Return values
array<int, array<string, mixed>> —getContents()
public
getContents() : string
Return values
string —getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed> —getName()
public
getName() : string
Return values
string —getSafeName()
public
getSafeName() : string
Return values
string —hasData()
public
hasData() : bool
Return values
bool —setAutoloader()
public
setAutoloader(Autoloader $autoloader) : static
Parameters
- $autoloader : Autoloader
Return values
static —getDataByDeclaration()
protected
getDataByDeclaration(string $declaration) : array<string, mixed>|false
Parameters
- $declaration : string
Return values
array<string, mixed>|false —getDataByFile()
protected
getDataByFile(string $file) : array<string, mixed>|false
Parameters
- $file : string
Return values
array<string, mixed>|false —getDeclarationType()
protected
getDeclarationType(string $declaration) : string
Parameters
- $declaration : string
Return values
string —getOpcacheConfiguration()
protected
getOpcacheConfiguration() : array<string, mixed>|null
Return values
array<string, mixed>|null —getPreloadStatistics()
protected
getPreloadStatistics() : array<string, mixed>
Return values
array<string, mixed> —renderAutoloader()
protected
renderAutoloader() : string
Return values
string —renderClasses()
protected
renderClasses() : string
Return values
string —renderNamespaces()
protected
renderNamespaces() : string
Return values
string —renderPreload()
protected
renderPreload() : string
Return values
string —renderPreloadStatistics()
protected
renderPreloadStatistics() : string