Skip to content

Instantly share code, notes, and snippets.

@pauletienney
Created June 28, 2013 12:15
Show Gist options
  • Save pauletienney/5884262 to your computer and use it in GitHub Desktop.
Save pauletienney/5884262 to your computer and use it in GitHub Desktop.
controller n'acceptant pas legacykernel
<?php
namespace Sise\DesignBundle\Controller;
Use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response,
Symfony\Bundle\FrameworkBundle\Controller\Controller,
eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController as APIViewController;
use eZ\Publish\API\Repository\Values\Content\Query;
use eZ\Publish\API\Repository\Values\Content\Query\Criterion;
use eZ\Publish\API\Repository\Values\Content\Query\SortClause;
use eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder;
use eZ\Publish\API\Repository\Values\Content\Search\SearchResult;
use Closure;
class EventsController extends APIViewController {
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment