public function buildResponseForUri($uri)
    {
        $page = $this->getPageForUri($uri);
        if (!$page) {
            return null;
        }

        return new Response($page->getContent());
    }
public function buildResponseForUri($uri)
    {
        $page = $this->getPageForUri($uri);
        if (!$page) {
            return null;
        }

        return new Response($page->getContent());
    }
public function buildResponseForUri ( $ uri ) { $ page = $ this -> getPageForUri ( $ uri ) ; if ( ! $ page ) { return null ; } return new Response ( $ page -> getContent ( ) ) ; }
Returns the response for the page URI or NULL if no data was found

@param string $uri
@return Response|NULL
Returns the response for the page URI or NULL if no data was found