GrafiteInc/FormMaker

View on GitHub
src/Fields/TextArea.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Grafite\Forms\Fields;

use Grafite\Forms\Fields\Field;

class TextArea extends Field
{
    protected static function getType()
    {
        return 'textarea';
    }

    protected static function getAttributes()
    {
        return [
            'rows' => 5,
        ];
    }

    protected static function getFactory()
    {
        return 'text(300)';
    }
}