FormContextInterface.php 777 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Symfony\Component\Form;
  3. /*
  4. * This file is part of the Symfony package.
  5. *
  6. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. use Symfony\Component\Form\FieldFactory\FieldFactoryInterface;
  12. use Symfony\Component\Form\CsrfProvider\CsrfProviderInterface;
  13. use Symfony\Component\Validator\ValidatorInterface;
  14. /**
  15. * Stores options for creating new forms
  16. *
  17. * @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
  18. */
  19. interface FormContextInterface
  20. {
  21. /**
  22. * Returns the options used for creating a new form
  23. *
  24. * @return array The form options
  25. */
  26. public function getOptions();
  27. }