for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: Dalibor
* Date: 27.9.2016.
* Time: 14:44
*/
namespace Ublaboo\DataGrid\Column;
class ColumnAggregationFunction
{
* @var string
protected $column;
protected $aggregation_type;
public static $aggregation_type_sum = 'sum';
public static $aggregation_type_avg = 'avg';
public static $aggregation_type_min = 'min';
public static $aggregation_type_max = 'max';
* ColumnSummary constructor.
* @param string $column
public function __construct($column)
$this->column = $column;
}
* @return string
public function getAggregationType()
return $this->aggregation_type;
* @param string $value use ColumnAggregationFunction::$aggregation_type_...
* @return ColumnSummary
public function setAggregationType($value)
$this->aggregation_type = $value;
return $this;
public function getColumn()
return $this->column;