Example #1
0
 protected function commandPack()
 {
     if (ini_get('phar.readonly')) {
         printf("Phar is current in read-only mode, you should run with \"php -d phar.readonly=0 bin/phpmig --pack\"\n");
         exit(1);
     }
     $packager = new Packager();
     $packager->pack();
 }