PHP Class Nette\DI\ContainerLoader

Inheritance: use trait Nette\SmartObject
Mostra file Open project: nette/di Class Usage Examples

Public Methods

Method Description
__construct ( $tempDirectory, $autoRebuild = FALSE )
getClassName ( $key ) : string
load ( $generator, $key = NULL ) : string

Protected Methods

Method Description
generate ( $class, $generator ) : array

Private Methods

Method Description
isExpired ( $file )
loadFile ( $class, $generator ) : void

Method Details

__construct() public method

public __construct ( $tempDirectory, $autoRebuild = FALSE )

generate() protected method

protected generate ( $class, $generator ) : array
return array of (code, file[])

getClassName() public method

public getClassName ( $key ) : string
return string

load() public method

public load ( $generator, $key = NULL ) : string
return string