Esempio n. 1
0
     $zipcode->readzipFile();
     $zipcode->createFileZipLocation();
     break;
 case '--restaurant-num-by-location':
     $zipcode = new Zipcode();
     $zipcode->mintcraftZip();
     break;
 case '--all':
     $zipcode = new Zipcode();
     $zipcode->readzipFile();
     $zipcode->createFileZipLocation();
     $zipcode->mintcraftZip();
     break;
 case '--location-by-blocks':
     $zipcode = new Zipcode();
     $zipcode->readzipFile();
     $zipcode->byBlocks();
     break;
 case '--location-by-block':
     $zipcode = new Zipcode();
     $zipcode->createBlock($argv[3], $argv[2]);
     break;
 case '--restaurant-num-by-block':
     $zipcode = new Zipcode();
     $zipcode->mintcraftBlocks($argv[3], $argv[2]);
     break;
 case '--restaurant-unique-value':
     $zipcode = new Zipcode();
     $zipcode->mintcraftUniqueValues($argv[2]);
     break;
 case '--diff':