<?php
/**
 * Icon Column
 * 
 * Column to display an icon in the adminlist, has no functionalitiy,
 * just astetic
 * 
 * @author Visual Media 
 */

namespace VisualM\ManagementBundle\AdminList\Column;

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

/**
 * Icon Naam Column
 *
 * @author Visual Media 
 */
class IconColumn extends ColumnConfigurationAbstract implements ColumnConfigurationInterface
{
    /**
     * Icon Class
     * @var string
     */
    private $IconClass;
    
    /**
     * Constructor
     * 
     * @param string $iconClass Icon Class
     */
    public function __construct($iconClass)
    {
        $this->IconClass = $iconClass;
        parent::__construct(
            null, 
            '', 
            false, 
            'VisualMManagementBundle:AdminList:Column/Icon/listItem.html.twig', 
            'VisualMManagementBundle:AdminList:Column/Icon/listHeader.html.twig',
            null
        );
    }

    /**
     * Get Icon Class
     * 
     * @return string Icon Class
     */
    public function getIconClass()
    {
        return $this->IconClass;
    }


}