mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-25 10:02:40 +00:00
16 lines
261 B
PHP
16 lines
261 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
namespace JKingWeb\Arsse\Test\Misc;
|
||
|
|
||
|
class StrClass {
|
||
|
public $str = "";
|
||
|
|
||
|
public function __construct($str) {
|
||
|
$this->str = (string) $str;
|
||
|
}
|
||
|
|
||
|
public function __toString() {
|
||
|
return $this->str;
|
||
|
}
|
||
|
}
|