GrafiteInc/Forms

View on GitHub
src/Fields/Bootstrap/HasOne.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Grafite\Forms\Fields\Bootstrap;

use Grafite\Forms\Fields\Bootstrap\TomSelect;

class HasOne extends TomSelect
{
    protected static function getType()
    {
        return 'relationship';
    }

    protected static function getAttributes()
    {
        return [
            'data-size' => 8,
        ];
    }
}