ServiceProviderProcessor
in package
implements
GXModuleComponentProcessor
Uses
DeterminesFqn
Class ServiceProviderProcessor
Interfaces, Classes and Traits
- GXModuleComponentProcessor
- Interface GXModuleComponentProcessor
Table of Contents
- $components : array<string|int, ServiceProvider>
- $path : Path
- __construct() : mixed
- ServiceProviderProcessor constructor.
- createRegistry() : ComponentsRegistry
- getType() : string
- processModuleFile() : void
- resetInternalState() : void
- Resets the internal state of the processor.
- determineFqn() : string
- Translates the path to a GXModules namespace.
Properties
$components
private
array<string|int, ServiceProvider>
$components
$path
private
Path
$path
Methods
__construct()
ServiceProviderProcessor constructor.
public
__construct(Path $path) : mixed
Parameters
- $path : Path
Return values
mixed —createRegistry()
public
createRegistry() : ComponentsRegistry
Tags
Return values
ComponentsRegistry —getType()
public
getType() : string
Tags
Return values
string —processModuleFile()
public
processModuleFile(SplFileInfo $moduleFile) : void
Parameters
- $moduleFile : SplFileInfo
Tags
Return values
void —resetInternalState()
Resets the internal state of the processor.
public
resetInternalState() : void
Tags
Return values
void —determineFqn()
Translates the path to a GXModules namespace.
private
determineFqn(string $path) : string
Parameters
- $path : string