25require_once __DIR__ .
'/Maintenance.php';
37 parent::__construct();
38 $this->
addDescription(
'Finds the files containing classes via the autoloader.' );
44 while ( !feof( $stdin ) ) {
45 $line = fgets( $stdin );
46 if ( $line ===
false ) {
49 $class = trim( $line );
50 $filename = AutoLoader::find( $class );
52 $this->
output(
"$filename\n" );
54 $this->
output(
"#$class\n" );
62require_once RUN_MAINTENANCE_IF_MAIN;
Maintenance script for finding the files that contain classes.
__construct()
Default constructor.
execute()
Do the actual work.
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
output( $out, $channel=null)
Throw some output to the user.
getStdin( $len=null)
Return input from stdin.
addDescription( $text)
Set the description text.