public function getDate()
    {
        $date = '';
        if (array_key_exists(
            Resources::DATE,
            $this->getResponse()->getHeaders()
        )) {
            $date = $this->getResponse()
                ->getHeaders()[Resources::DATE][0];
        }
        return $date;
    }
public function getDate()
    {
        $date = '';
        if (array_key_exists(
            Resources::DATE,
            $this->getResponse()->getHeaders()
        )) {
            $date = $this->getResponse()
                ->getHeaders()[Resources::DATE][0];
        }
        return $date;
    }
public function getDate ( ) { $ date = '' ; if ( array_key_exists ( Resources :: DATE , $ this -> getResponse ( ) -> getHeaders ( ) ) ) { $ date = $ this -> getResponse ( ) -> getHeaders ( ) [ Resources :: DATE ] [ 0 ] ; } return $ date ; }
Gets the Date of the failure.

@return string
Gets the Date of the failure .