]> git.mxchange.org Git - friendica.git/blob - tests/Util/EntityDouble.php
Improve comment wording in ApiTest
[friendica.git] / tests / Util / EntityDouble.php
1 <?php
2
3 namespace Friendica\Test\Util;
4
5 use Friendica\BaseEntity;
6
7 /**
8  * @property-read string $protString
9  * @property-read int $protInt
10  * @property-read \DateTime $protDateTime
11  */
12 class EntityDouble extends BaseEntity
13 {
14         protected $protString;
15         protected $protInt;
16         protected $protDateTime;
17         private $privString;
18
19         public function __construct(string $protString, int $protInt, \DateTime $protDateTime, string $privString)
20         {
21                 $this->protString   = $protString;
22                 $this->protInt      = $protInt;
23                 $this->protDateTime = $protDateTime;
24                 $this->privString   = $privString;
25         }
26 }