for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Zebrainsteam\LaravelGeneratorPackage\Form\Fields;
use Exception;
use Zebrainsteam\LaravelGeneratorPackage\Contracts\FieldInterface;
class StringField extends FieldAbstract
{
/**
* TextField init.
* @param array $arguments
* @return FieldInterface
* @throws Exception
*/
public function init(array $arguments): FieldInterface
parent::init($arguments);
$this->setType('string');
$this->setCast('string');
return $this;
}