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

namespace VisualM\FormBundle\AdminList\Column;

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

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