AnnotationInterface.php 551 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * PHP表单生成器
  4. *
  5. * @package FormBuilder
  6. * @author xaboy <xaboy2005@qq.com>
  7. * @version 2.0
  8. * @license MIT
  9. * @link https://github.com/xaboy/form-builder
  10. * @document http://php.form-create.com
  11. */
  12. namespace FormBuilder\Contract;
  13. interface AnnotationInterface
  14. {
  15. /**
  16. * @param array $rule
  17. * @return array
  18. */
  19. public function parseRule($rule);
  20. /**
  21. * @param CustomComponentInterface $component
  22. * @return CustomComponentInterface
  23. */
  24. public function parseComponent($component);
  25. }