for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of slick/form package
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Slick\Form\Element;
use Slick\Form\ElementInterface;
use Slick\Form\Renderer\Button as ButtonRenderer;
* Button input
* @package Slick\Form\Element
class Button extends AbstractElement implements ElementInterface
{
* @var string Renderer class
protected $rendererClass = ButtonRenderer::class;
* Submit constructor.
public function __construct()
$this->getAttributes()->set('type', 'button');
}