This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Form/RequestHandlerInterface.php

29 lines
668 B
PHP
Raw Normal View History

2012-12-30 15:38:36 +00:00
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Form;
/**
* Submits forms if they were submitted.
2012-12-30 15:38:36 +00:00
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface RequestHandlerInterface
2012-12-30 15:38:36 +00:00
{
/**
* Submits a form if it was submitted.
2012-12-30 15:38:36 +00:00
*
* @param FormInterface $form The form to submit.
2012-12-30 15:38:36 +00:00
* @param mixed $request The current request.
*/
public function handleRequest(FormInterface $form, $request = null);
2012-12-30 15:38:36 +00:00
}