concrete/src/Permission/IPRangesCsvWriter.php
private function getHeaders()
    {
        $headers = [t('IP Range'), t('Start address'), t('End address')];
        if ($this->type === IPService::IPRANGETYPE_BLACKLIST_AUTOMATIC) {
            $headers[] = t('Expiration');
        }

        return $headers;
    }
private function getHeaders()
    {
        $headers = [t('IP Range'), t('Start address'), t('End address')];
        if ($this->type === IPService::IPRANGETYPE_BLACKLIST_AUTOMATIC) {
            $headers[] = t('Expiration');
        }

        return $headers;
    }
private function getHeaders ( ) { $ headers = [ t ( 'IP Range' ) , t ( 'Start address' ) , t ( 'End address' ) ] ; if ( $ this -> type === IPService :: IPRANGETYPE_BLACKLIST_AUTOMATIC ) { $ headers [ ] = t ( 'Expiration' ) ; } return $ headers ; }
Get the headers of the CSV.

@return string[]
Get the headers of the CSV .