mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 02:24:26 +00:00
24 lines
559 B
PHP
24 lines
559 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Core\MetaProvider;
|
|
|
|
use Alchemy\Phrasea\Core\Provider\TwigServiceProvider as PhraseanetTwigServiceProvider;
|
|
use Silex\Application;
|
|
use Silex\Provider\TwigServiceProvider;
|
|
use Silex\ServiceProviderInterface;
|
|
|
|
class TemplateEngineMetaProvider implements ServiceProviderInterface
|
|
{
|
|
|
|
public function register(Application $app)
|
|
{
|
|
$app->register(new TwigServiceProvider());
|
|
$app->register(new PhraseanetTwigServiceProvider());
|
|
}
|
|
|
|
public function boot(Application $app)
|
|
{
|
|
// no-op
|
|
}
|
|
}
|