ProcedureValidatorInterface.php 631 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the php-phantomjs.
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. */
  8. namespace JonnyW\PhantomJs\Procedure;
  9. /**
  10. * PHP PhantomJs
  11. *
  12. * @author Jon Wenmoth <contact@jonnyw.me>
  13. */
  14. interface ProcedureValidatorInterface
  15. {
  16. /**
  17. * Validate procedure.
  18. *
  19. * @access public
  20. * @param string $procedure
  21. * @return boolean
  22. * @throws \JonnyW\PhantomJs\Exception\ProcedureValidationException
  23. */
  24. public function validate($procedure);
  25. }