public function handleHeaderRow(array $current, $key)
    {
        if ($key == $this->csvFormat->getHeaderRow() - 1) {
            if (count($current) > 1 || strlen($current[0]) > 0) {
                $this->headerRow = $current;
            }
        }
        return true;
    }
public function handleHeaderRow(array $current, $key)
    {
        if ($key == $this->csvFormat->getHeaderRow() - 1) {
            if (count($current) > 1 || strlen($current[0]) > 0) {
                $this->headerRow = $current;
            }
        }
        return true;
    }
public function handleHeaderRow ( array $ current , $ key ) { if ( $ key == $ this -> csvFormat -> getHeaderRow ( ) - 1 ) { if ( count ( $ current ) > 1 || strlen ( $ current [ 0 ] ) > 0 ) { $ this -> headerRow = $ current ; } } return true ; }
Parse the rows looking for the header row and storing it locally

@param array $current
@param int   $key

@return bool
Parse the rows looking for the header row and storing it locally