mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
14 lines
339 B
PHP
14 lines
339 B
PHP
|
<?php
|
||
|
|
||
|
use Knp\Provider\ConsoleServiceProvider;
|
||
|
|
||
|
$app->register(new ConsoleServiceProvider(), array(
|
||
|
'console.name' => 'GIST Console',
|
||
|
'console.version' => 'dev-master',
|
||
|
'console.project_directory' => $app['root_path'],
|
||
|
));
|
||
|
|
||
|
$app['console'] = $app->share($app->extend('console', function ($console) {
|
||
|
return $console;
|
||
|
}));
|