1.0.0 Alpha Release #59

Merged
netkas merged 213 commits from v1.0.0_alpha into master 2023-01-29 23:27:58 +00:00
Showing only changes of commit fa8301710f - Show all commits

View file

@ -77,6 +77,17 @@
];
}
/**
* Returns the hash of the object.
* (This is used for caching)
*
* @return string
*/
public function requestHash(): string
{
return hash('sha1', json_encode($this->toArray()));
}
/**
* Constructs a new HttpRequest object from an array representation.
*