RouteBuilderInterface.php 650 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. * This file is part of the Sonata 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. interface RouteBuilderInterface
  14. {
  15. /**
  16. * @abstract
  17. * @param \Sonata\AdminBundle\Admin\AdminInterface $admin
  18. * @param \Sonata\AdminBundle\Route\RouteCollection $collection
  19. */
  20. function build(AdminInterface $admin, RouteCollection $collection);
  21. }