mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
31 lines
740 B
PHP
31 lines
740 B
PHP
<?php
|
|
|
|
// Copyright (C) 2010-2024, the Friendica project
|
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace Friendica\Test\Util;
|
|
|
|
use Friendica\BaseEntity;
|
|
|
|
/**
|
|
* @property-read string $protString
|
|
* @property-read int $protInt
|
|
* @property-read \DateTime $protDateTime
|
|
*/
|
|
class EntityDouble extends BaseEntity
|
|
{
|
|
protected $protString;
|
|
protected $protInt;
|
|
protected $protDateTime;
|
|
private $privString;
|
|
|
|
public function __construct(string $protString, int $protInt, \DateTime $protDateTime, string $privString)
|
|
{
|
|
$this->protString = $protString;
|
|
$this->protInt = $protInt;
|
|
$this->protDateTime = $protDateTime;
|
|
$this->privString = $privString;
|
|
}
|
|
}
|