krafthaus/bauhaus

View on GitHub
src/KraftHaus/Bauhaus/Field/StringField.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace KraftHaus\Bauhaus\Field;

/**
 * This file is part of the KraftHaus Bauhaus package.
 *
 * (c) KraftHaus <hello@krafthaus.nl>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

use KraftHaus\Bauhaus\Field\BaseField;

/**
 * Class StringField
 * @package KraftHaus\Bauhaus\Field
 */
class StringField extends BaseField
{

    /**
     * Render the field.
     *
     * @access public
     * @return mixed|string
     */
    public function render()
    {
        return $this->getValue();
    }

}