RouteBuilderInterface.php 665 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Sonata Project package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Sonata\AdminBundle\Builder;
  11. use Sonata\AdminBundle\Admin\AdminInterface;
  12. use Sonata\AdminBundle\Route\RouteCollection;
  13. /**
  14. * @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
  15. */
  16. interface RouteBuilderInterface
  17. {
  18. /**
  19. * @param AdminInterface $admin
  20. * @param RouteCollection $collection
  21. */
  22. public function build(AdminInterface $admin, RouteCollection $collection);
  23. }