public function getList()
    {
        $list = new \BearFramework\DataList();
        foreach ($this->data as $header) {
            $list[] = clone($header);
        }
        return $list;
    }
public function getList()
    {
        $list = new \BearFramework\DataList();
        foreach ($this->data as $header) {
            $list[] = clone($header);
        }
        return $list;
    }
public function getList ( ) { $ list = new \ BearFramework \ DataList ( ) ; foreach ( $ this -> data as $ header ) { $ list [ ] = clone ( $ header ) ; } return $ list ; }
Returns a list of all headers.

@return \BearFramework\DataList|\BearFramework\App\Response\Header[] An array containing all headers.
Returns a list of all headers .