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/SubmitButtonBuilder.php

31 lines
624 B
PHP
Raw Normal View History

2012-12-31 14:29: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;
/**
* A builder for {@link SubmitButton} instances.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class SubmitButtonBuilder extends ButtonBuilder
{
/**
* Creates the button.
*
2013-10-31 14:11:32 +00:00
* @return SubmitButton The button
2012-12-31 14:29:36 +00:00
*/
public function getForm()
{
return new SubmitButton($this->getFormConfig());
}
}