Formatter
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Formatter constructor.
- encodePoint() : string
- format() : string
Properties
$pointSerializer
private
UncompressedPointSerializer
$pointSerializer
Methods
__construct()
Formatter constructor.
public
__construct([PointSerializerInterface|null $pointSerializer = null ]) : mixed
Parameters
- $pointSerializer : PointSerializerInterface|null = null
encodePoint()
public
encodePoint(PointInterface $point) : string
Parameters
- $point : PointInterface
Return values
stringformat()
public
format(PublicKeyInterface $key) : string
Parameters
- $key : PublicKeyInterface