You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
861 B
PHP
41 lines
861 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Cilex framework.
|
|
*
|
|
* (c) Mike van Riel <mike.vanriel@naenius.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Cilex\Provider\Console\Adapter\Silex;
|
|
|
|
use Cilex\Provider\Console\BaseConsoleServiceProvider;
|
|
use Silex\Application;
|
|
use Silex\ServiceProviderInterface;
|
|
|
|
/**
|
|
* Silex Console Service Provider adapter
|
|
*
|
|
* @author Beau Simensen <beau@dflydev.com>
|
|
*/
|
|
class ConsoleServiceProvider implements ServiceProviderInterface
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function boot(Application $app)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function register(Application $app)
|
|
{
|
|
$serviceProvider = new BaseConsoleServiceProvider;
|
|
$serviceProvider->register($app);
|
|
}
|
|
}
|