for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WeDevBr\Mati\Inputs;
/**
* Trait for inputs that have a type
*
* @author Gabriel Mineiro <[email protected]>
*/
trait HasType
{
protected $type;
* @param string $type
* @return static
public function setType(string $type)
$this->type = $type;
return $this;
}