10require_once __DIR__ .
'/Maintenance.php';
23 parent::__construct();
24 $this->
addDescription(
'Finds the files containing classes via the autoloader.' );
30 while ( !feof( $stdin ) ) {
31 $line = fgets( $stdin );
32 if ( $line ===
false ) {
35 $class = trim( $line );
36 $filename = AutoLoader::find( $class );
38 $this->
output(
"$filename\n" );
40 $this->
output(
"#$class\n" );
48require_once RUN_MAINTENANCE_IF_MAIN;
Find 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.