Add Phraseanet Service Provider and Phraseanet Application

This commit is contained in:
Romain Neutron
2012-07-17 20:33:11 +02:00
parent 8b0f8d320c
commit 3812399a35
43 changed files with 565 additions and 567 deletions

View File

@@ -32,7 +32,7 @@ class PathFileTest implements ControllerProviderInterface
$controllers->get('/path/', function() use ($app) {
$path = $app['request']->get('path');
$Serializer = $app['Core']['Serializer'];
$Serializer = $app['phraseanet.core']['Serializer'];
return new Response(
$Serializer->serialize(
@@ -54,7 +54,7 @@ class PathFileTest implements ControllerProviderInterface
$controllers->get('/url/', function() use ($app) {
$url = $app['request']->get('url');
$Serializer = $app['Core']['Serializer'];
$Serializer = $app['phraseanet.core']['Serializer'];
return new Response(
$Serializer->serialize(