for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SoareCostin\BladeFormComponents\FormComponents;
use Illuminate\Contracts\Support\Htmlable;
use SoareCostin\BladeFormComponents\FormElements\Submit;
class SubmitComponent implements Htmlable
{
/** @var \SoareCostin\BladeFormComponents\FormElements\Submit */
protected $element;
public function __construct(array $params = [])
$this->element = new Submit($params);
}
public function toHtml()
return view(
'blade-form-components::submit', [
'element' => $this->element,
]
);