src/Graviton/CoreBundle/Controller/MainController.php
protected function prepareLinkHeader()
    {
        $links = new LinkHeader(array());
        $links->add(
            new LinkHeaderItem(
                $this->router->generate('graviton.core.rest.app.all', array (), UrlGeneratorInterface::ABSOLUTE_URL),
                array ('rel' => 'apps', 'type' => 'application/json')
            )
        );

        return (string) $links;
    }
protected function prepareLinkHeader()
    {
        $links = new LinkHeader(array());
        $links->add(
            new LinkHeaderItem(
                $this->router->generate('graviton.core.rest.app.all', array (), UrlGeneratorInterface::ABSOLUTE_URL),
                array ('rel' => 'apps', 'type' => 'application/json')
            )
        );

        return (string) $links;
    }
protected function prepareLinkHeader ( ) { $ links = new LinkHeader ( array ( ) ) ; $ links -> add ( new LinkHeaderItem ( $ this -> router -> generate ( 'graviton.core.rest.app.all' , array ( ) , UrlGeneratorInterface :: ABSOLUTE_URL ) , array ( 'rel' => 'apps' , 'type' => 'application/json' ) ) ) ; return ( string ) $ links ; }
Prepares the header field containing information about pagination.

@return string
Prepares the header field containing information about pagination .