🚿 docblocks (WIP)

This commit is contained in:
codemasher
2021-11-18 13:32:46 +01:00
parent f7e5e2e806
commit 6a5be44ea4
18 changed files with 126 additions and 20 deletions
+21
View File
@@ -29,6 +29,9 @@ final class DecoderResult{
private int $structuredAppendParity;
private int $structuredAppendSequenceNumber;
/**
*
*/
public function __construct(
array $rawBytes,
string $text,
@@ -59,26 +62,44 @@ final class DecoderResult{
return $this->text;
}
/**
*
*/
public function __toString():string{
return $this->text;
}
/**
*
*/
public function getVersion():Version{
return $this->version;
}
/**
*
*/
public function getEccLevel():EccLevel{
return $this->eccLevel;
}
/**
*
*/
public function hasStructuredAppend():bool{
return $this->structuredAppendParity >= 0 && $this->structuredAppendSequenceNumber >= 0;
}
/**
*
*/
public function getStructuredAppendParity():int{
return $this->structuredAppendParity;
}
/**
*
*/
public function getStructuredAppendSequenceNumber():int{
return $this->structuredAppendSequenceNumber;
}