PHP Class think\console\command\optimize\Autoload

Inheritance: extends think\console\command\Command
Show file Open project: top-think/framework

Protected Methods

Method Description
addClassMapCode ( $dir, $namespace, $classMap )
configure ( )
createMap ( $path, $namespace = null )
execute ( Input $input, Output $output )
findClasses ( $path )
getPathCode ( $path )
normalizePath ( $path )

Method Details

addClassMapCode() protected method

protected addClassMapCode ( $dir, $namespace, $classMap )

configure() protected method

protected configure ( )

createMap() protected method

protected createMap ( $path, $namespace = null )

execute() protected method

protected execute ( Input $input, Output $output )
$input think\console\Input
$output think\console\Output

findClasses() protected method

protected findClasses ( $path )

getPathCode() protected method

protected getPathCode ( $path )

normalizePath() protected method

protected normalizePath ( $path )