public function getPolicyResult($name)
  {
    if (!isset($this->results[$name])) {
      throw new NoAuditResponseFoundException($name, "Policy '$name' does not have an AuditResponse.");
    }
    return $this->results[$name];
  }
public function getPolicyResult($name)
  {
    if (!isset($this->results[$name])) {
      throw new NoAuditResponseFoundException($name, "Policy '$name' does not have an AuditResponse.");
    }
    return $this->results[$name];
  }
public function getPolicyResult ( $ name ) { if ( ! isset ( $ this -> results [ $ name ] ) ) { throw new NoAuditResponseFoundException ( $ name , "Policy '$name' does not have an AuditResponse." ) ; } return $ this -> results [ $ name ] ; }
Get an AuditResponse object by Policy name.

@param string $name
@return AuditResponse
Get an AuditResponse object by Policy name .