LoaderInterface.php 609 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Acl;
  7. /**
  8. * Access Control List loader
  9. *
  10. * All classes implementing this interface should have ability to populate ACL object
  11. * with data (roles/rules/resources) persisted in external storage.
  12. *
  13. * @api
  14. * @since 100.0.2
  15. */
  16. interface LoaderInterface
  17. {
  18. /**
  19. * Populate ACL with data from external storage
  20. *
  21. * @param \Magento\Framework\Acl $acl
  22. * @return void
  23. * @abstract
  24. */
  25. public function populateAcl(\Magento\Framework\Acl $acl);
  26. }