My case of using your lib is usually encode/decode simple integer ID. So after every decode i have to get first value of this array. I never used array of decoded variables so need at simple method which will just return me string of imploded values of decode.
I used my own class, which extends lib, on my projects, but want to offer you little function to add this functional )
I added simple method like helper.
public function decodeToString(string $hash): string
{
return implode($this->decode($hash));
}
My case of using your lib is usually encode/decode simple integer ID. So after every decode i have to get first value of this array. I never used array of decoded variables so need at simple method which will just return me string of imploded values of decode.
I used my own class, which extends lib, on my projects, but want to offer you little function to add this functional )
I added simple method like helper.
Tests was extended also :)