private function setReponseHeaders($contentType = 'text/html', array $cookies = array())
    {
        $powered = Config::getParam('poweredBy', 'PSFS');
        header('X-Powered-By: ' . $powered);
        ResponseHelper::setStatusHeader($this->getStatusCode());
        ResponseHelper::setAuthHeaders($this->isPublicZone());
        ResponseHelper::setCookieHeaders($cookies);
        header('Content-type: ' . $contentType);

    }
private function setReponseHeaders($contentType = 'text/html', array $cookies = array())
    {
        $powered = Config::getParam('poweredBy', 'PSFS');
        header('X-Powered-By: ' . $powered);
        ResponseHelper::setStatusHeader($this->getStatusCode());
        ResponseHelper::setAuthHeaders($this->isPublicZone());
        ResponseHelper::setCookieHeaders($cookies);
        header('Content-type: ' . $contentType);

    }
private function setReponseHeaders ( $ contentType = 'text/html' , array $ cookies = array ( ) ) { $ powered = Config :: getParam ( 'poweredBy' , 'PSFS' ) ; header ( 'X-Powered-By: ' . $ powered ) ; ResponseHelper :: setStatusHeader ( $ this -> getStatusCode ( ) ) ; ResponseHelper :: setAuthHeaders ( $ this -> isPublicZone ( ) ) ; ResponseHelper :: setCookieHeaders ( $ cookies ) ; header ( 'Content-type: ' . $ contentType ) ; }
Servicio que establece las cabeceras de la respuesta
@param string $contentType
@param array $cookies
Servicio que establece las cabeceras de la respuesta