<?php
/**
 * FormEntryDate Column
 *
 * @author Elze Kool <info@visualmedia.nl>
 */

namespace VisualM\FormBundle\AdminList\Column;

use VisualM\ManagementBundle\AdminList\Column\ColumnConfigurationAbstract;
use VisualM\ManagementBundle\AdminList\Column\ColumnConfigurationInterface;

/**
 * FormEntryDate Column
 *
 * @author Elze Kool <info@visualmedia.nl>
 */
class FormEntryDateColumn extends ColumnConfigurationAbstract implements ColumnConfigurationInterface
{
    /**
     * Constructor
     *
     * @param string  $field          Field for Volgorde
     * @param string  $title          Title
     * @param boolean $sortable       Sortable
     */
    public function __construct($field, $title, $sortable = true)
    {
        parent::__construct(
            $field,
            $title,
            $sortable,
            'VisualMFormBundle:AdminList:Column/FormEntryDate/listItem.html.twig',
            'VisualMManagementBundle:AdminList:Column/PlainValueColumn/listHeader.html.twig',
            null
        );        
    }
}