public function clear(): void
    {
        $this->errors = [];
        if (file_exists($this->cacheFileName())) {
            @unlink($this->cacheFileName());
        }
    }
public function clear(): void
    {
        $this->errors = [];
        if (file_exists($this->cacheFileName())) {
            @unlink($this->cacheFileName());
        }
    }
public function clear ( ) : void { $ this -> errors = [ ] ; if ( file_exists ( $ this -> cacheFileName ( ) ) ) { @ unlink ( $ this -> cacheFileName ( ) ) ; } }
Clear errors and cache
Clear errors and cache