for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace kalanis\kw_forms\Controls;
/**
* Class Password
* @package kalanis\kw_forms\Controls
* Form element for password
*/
class Password extends AControl
{
protected string $templateInput = '<input type="password" value=""%2$s />';
public function set(string $alias, string $label = ''): self
$this->setEntry($alias, null, $label);
$this->setAttribute('id', $this->getKey());
return $this;
}