public addToGrouping ( $type ) : |
||
$type | ||
return |
public function addToGrouping($type)
{
if (!$this->typeIsAvailable($type)) {
return $this;
}
if (!in_array($type, $this->groupForRender)) {
$this->groupForRender[] = $type;
}
return $this;
}