ValidatorInterface.php 442 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Code;
  7. /**
  8. * Interface \Magento\Framework\Code\ValidatorInterface
  9. *
  10. */
  11. interface ValidatorInterface
  12. {
  13. /**
  14. * Validate class
  15. *
  16. * @param string $className
  17. * @return bool
  18. * @throws \Magento\Framework\Exception\ValidatorException
  19. */
  20. public function validate($className);
  21. }