1
0
mirror of https://gitnet.fr/deblan/gist.git synced 2021-08-14 08:30:49 +02:00
GIST/app/bootstrap.php.d/20-console.php

14 lines
339 B
PHP
Raw Normal View History

2015-05-06 14:11:00 +02:00
<?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;
}));