use Fluidbook\Farmer\ProcessFile;
use Fluidbook\Farmer\ProcessToolboxDocumentFile;
use Fluidbook\Farmer\ProcessToolboxPDFFile;
-use Illuminate\Cache\CacheManager;
-use Illuminate\Container\Container;
-use Illuminate\Filesystem\Filesystem;
-use Slim\Factory\AppFactory;
require_once __DIR__ . "/vendor/autoload.php";
-$app = AppFactory::create();
-
-$container = new Container;
-
-// The CacheManager creates the cache "repository" based on config values
-// which are loaded from the config class in the container.
-// More about the config class can be found in the config component; for now we will use an array
-$container['config'] = [
- 'cache.default' => 'file',
- 'cache.stores.file' => [
- 'driver' => 'file',
- 'path' => '/tmp/cache',
- ]
-];
-
-$container['files'] = new Filesystem;
-
-// Create the CacheManager
-$cacheManager = new CacheManager($container);
-
-// Get the default cache driver (file in this case)
-$cache = $cacheManager->store();
-
if (isset($argv)) {
parse_str(implode('&', array_slice($argv, 1)), $_POST);
}