mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
28 lines
576 B
PHP
28 lines
576 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea;
|
|
|
|
use Alchemy\Phrasea\Core\Version;
|
|
use Silex\Application as SilexApplication;
|
|
use Silex\ServiceProviderInterface;
|
|
|
|
class PhraseanetServiceProvider implements ServiceProviderInterface
|
|
{
|
|
|
|
public function register(SilexApplication $app)
|
|
{
|
|
$app['phraseanet.appbox'] = $app->share(function($app) {
|
|
return new \appbox($app);
|
|
});
|
|
|
|
$app['phraseanet.version'] = $app->share(function($app) {
|
|
return new Version();
|
|
});
|
|
}
|
|
|
|
public function boot(SilexApplication $app)
|
|
{
|
|
|
|
}
|
|
}
|