-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframe
More file actions
executable file
·24 lines (18 loc) · 635 Bytes
/
frame
File metadata and controls
executable file
·24 lines (18 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env php
<?php
use RactStudio\FrameStudio\Console\Kernel;
use RactStudio\FrameStudio\Foundation\Application;
// Define base path
define('FRAME_STUDIO_START', microtime(true));
// Autoload
require __DIR__.'/vendor/autoload.php';
// Create App
$app = new Application(__DIR__);
// Boot Kernel
$kernel = new Kernel($app);
// $status = $kernel->handle($input, $output); // In a real scenario we'd create Input/Output
// For simplicity using default Symfony globals for now which `run()` handles.
$kernel->handle(
new \Symfony\Component\Console\Input\ArgvInput,
new \Symfony\Component\Console\Output\ConsoleOutput
);