fireguard/form

View on GitHub
src/Form/Elements/PasswordElement.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/*
 * This file is part of the fireguard/form package.
 *
 * (c) Ronaldo Meneguite <ronaldo@fireguard.com.br>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Fireguard\Form\Elements;

use Fireguard\Form\Contracts\FormElementInterface;
use Fireguard\Form\Contracts\FormInputInterface;

class PasswordElement extends AbstractElement implements FormElementInterface, FormInputInterface
{
    public function getType()
    {
        return 'password';
    }

    public function render()
    {
        return $this->makeInput();
    }
}