20 lines
400 B
PHP
20 lines
400 B
PHP
|
<?php
|
||
|
namespace Patchouli;
|
||
|
|
||
|
use FWIF\FWIFSerializable;
|
||
|
use JsonSerializable;
|
||
|
|
||
|
class Version implements FWIFSerializable, JsonSerializable {
|
||
|
public function fwifSerialize(): string {
|
||
|
return (string)$this;
|
||
|
}
|
||
|
|
||
|
public function jsonSerialize(): string {
|
||
|
return (string)$this;
|
||
|
}
|
||
|
|
||
|
public function __toString(): string {
|
||
|
return '1.0.0';
|
||
|
}
|
||
|
}
|